summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-06-02 18:08:08 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-06-02 18:08:08 +0000
commit1cf07ea6bbb214077aca62a1fb44f20e070cdf45 (patch)
treed2a128fa723a2c805075c3b57739374ea69f50dd /llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
parenta4ec2fcff966d56e7a428cbfb37a615a55fa9808 (diff)
downloadbcm5719-llvm-1cf07ea6bbb214077aca62a1fb44f20e070cdf45.tar.gz
bcm5719-llvm-1cf07ea6bbb214077aca62a1fb44f20e070cdf45.zip
Remove sanitizer blacklist from ASan/TSan/MSan function passes.
Instrumentation passes now use attributes address_safety/thread_safety/memory_safety which are added by Clang frontend. Clang parses the blacklist file and adds the attributes accordingly. Currently blacklist is still used in ASan module pass to disable instrumentation for certain global variables. We should fix this as well by collecting the set of globals we're going to instrument in Clang and passing it to ASan in metadata (as we already do for dynamically-initialized globals and init-order checking). This change also removes -tsan-blacklist and -msan-blacklist LLVM commandline flags in favor of -fsanitize-blacklist= Clang flag. llvm-svn: 210037
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud