mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
- Instead of keeping multiple flags in the type descriptor flags, just keep a single flag indicating the presence of additional import information after the name. - That import information consists of a sequence of null-terminated C strings, terminated by an empty string (i.e. by a double null terminator), each prefixed with a character describing its purpose. - In addition to the symbol namespace and related entity name, include the ABI name if it differs from the user-facing name of the type, and make the name the user-facing Swift name. There's a remaining issue here that isn't great: we don't correctly represent the parent relationship between error types and their codes, and instead we just use the Clang module as the parent. But I'll leave that for a later commit.