mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Modify IRGen to emit “anonymous” string constants with names of the form `@.str.<len>.<contents>` (with a special mangling for internal `\0` characters). This makes it much easier to write IRGen tests that check for the contents of strings, because matching the constant name also implies that the constant has the expected content.
1.6 KiB
1.6 KiB