llvm-6502/lib/Transforms/Instrumentation
Bill Wendling 55a1a590bf Change the linkage of these global values to 'internal'.
The globals being generated here were given the 'private' linkage type. However,
this caused them to end up in different sections with the wrong prefix. E.g.,
they would be in the __TEXT,__const section with an 'L' prefix instead of an 'l'
(lowercase ell) prefix.

The problem is that the linker will eat a literal label with 'L'. If a weak
symbol is then placed into the __TEXT,__const section near that literal, then it
cannot distinguish between the literal and the weak symbol.

Part of the problems here was introduced because the address sanitizer converted
some C strings into constant initializers with trailing nuls. (Thus putting them
in the __const section with the wrong prefix.) The others were variables that
the address sanitizer created but simply had the wrong linkage type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187827 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-06 22:52:42 +00:00
..
AddressSanitizer.cpp Change the linkage of these global values to 'internal'. 2013-08-06 22:52:42 +00:00
BoundsChecking.cpp
CMakeLists.txt Rename BlackList class to SpecialCaseList and move it to Transforms/Utils. 2013-07-09 22:02:49 +00:00
DebugIR.cpp Remove DIBuilder cache of variable TheCU and change the few 2013-07-19 00:51:47 +00:00
DebugIR.h
EdgeProfiling.cpp
GCOVProfiling.cpp Mark a method 'const' and another 'static'. 2013-07-17 03:54:53 +00:00
Instrumentation.cpp
LLVMBuild.txt
Makefile
MaximumSpanningTree.h
MemorySanitizer.cpp Rename BlackList class to SpecialCaseList and move it to Transforms/Utils. 2013-07-09 22:02:49 +00:00
OptimalEdgeProfiling.cpp
PathProfiling.cpp
ProfilingUtils.cpp
ProfilingUtils.h
ThreadSanitizer.cpp Rename BlackList class to SpecialCaseList and move it to Transforms/Utils. 2013-07-09 22:02:49 +00:00