1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-29 23:12:55 +01:00
llvm-mirror/test/Instrumentation/MemorySanitizer
Evgeniy Stepanov 9a4d6586b4 [msan] Handle mixed track-origins and keep-going settings (llvm part).
Before this change, each module defined a weak_odr global __msan_track_origins 
with a value of 1 if origin tracking is enabled, 0 if disabled. If there are 
modules with different values, any of them may win. If 0 wins, and there is at 
least one module with 1, the program will most likely crash.

With this change, __msan_track_origins is only emitted if origin tracking is 
on. Then runtime library detects if there is at least one module with origin 
tracking, and enables runtime support for it.

llvm-svn: 182997
2013-05-31 12:04:29 +00:00
..
X86 [msan] A no-op implementation of VarArg handling. 2013-05-21 12:27:47 +00:00
lit.local.cfg
msan_basic.ll [msan] Handle mixed track-origins and keep-going settings (llvm part). 2013-05-31 12:04:29 +00:00
unreachable.ll Fix llvm::removeUnreachableBlocks to handle unreachable loops. 2013-03-22 08:43:04 +00:00