summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-11-21 19:57:25 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-11-21 19:57:25 +0000
commit98e77a2512115a8f8853a8342e02727984c07e79 (patch)
treeaa5422449db83e368a15e920ff093122796b0680 /lldb/scripts/Python
parentf0a582bada4e77e2b06a0f37b7cf06703971f26f (diff)
downloadbcm5719-llvm-98e77a2512115a8f8853a8342e02727984c07e79.tar.gz
bcm5719-llvm-98e77a2512115a8f8853a8342e02727984c07e79.zip
MS ABI: Mangle char16_t and char32_t string literals
We previously had support for char and wchar_t string literals. VS 2015 added support for char16_t and char32_t. String literals must be mangled in the MS ABI in order for them to be deduplicated across translation units: their linker has no notion of mergeable section. Instead, they use the mangled name to make a COMDAT for the string literal; the COMDAT will merge with other COMDATs in other object files. This allows strings in object files generated by clang to get merged with strings in object files generated by MSVC. llvm-svn: 222564
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud