Go to file
David Majnemer 3843a05edf MS ABI: Eliminate Duplicate Strings
COFF doesn't have mergeable sections so LLVM/clang's normal tactics for
string deduplication will not have any effect.

To remedy this we place each string inside it's own section and mark
the section as IMAGE_COMDAT_SELECT_ANY.  However, we can only do this if the
string has an external name that we can generate from it's contents.

To be compatible with MSVC, we must use their scheme.  Otherwise identical
strings in translation units from clang may not be deduplicated with
translation units in MSVC.

This fixes PR18248.

N.B. We will not attempt to do anything with a string literal which is not of
type 'char' or 'wchar_t' because their compiler does not support unicode
string literals as of this date.

llvm-svn: 204562
2014-03-23 17:47:16 +00:00
clang MS ABI: Eliminate Duplicate Strings 2014-03-23 17:47:16 +00:00
clang-tools-extra Removed unused include 2014-03-23 00:32:18 +00:00
compiler-rt InstrProf: Indicate pointer size in raw profile 2014-03-23 03:38:05 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Add sincos 2014-03-21 16:22:01 +00:00
libcxx Implement N3891: A proposal to rename shared_mutex to shared_timed_mutex 2014-03-17 20:19:44 +00:00
libcxxabi Simplify. 2014-03-20 01:28:28 +00:00
lld [Mips] Make the test to be a bit more relaxed to lld YAML output. 2014-03-22 06:20:38 +00:00
lldb Cleanup some dead assignements reported by scan-build 2014-03-22 20:23:26 +00:00
llvm remove a bunch of unused private methods 2014-03-23 17:09:26 +00:00
openmp Revert commit (testing commit hook). 2014-03-04 18:06:04 +00:00
polly Return conservative result in case the dependence check timed out 2014-03-21 15:12:09 +00:00