diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-07-07 23:34:34 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-07-07 23:34:34 +0000 |
commit | e7a8ccfaad752f02b4f0e3bf49321b9f23313a75 (patch) | |
tree | 862aed2a5ff7208f92a1fa44283ccc14514471f0 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 2620b877b6299e04767718358d6e1eb66b18cb49 (diff) | |
download | bcm5719-llvm-e7a8ccfaad752f02b4f0e3bf49321b9f23313a75.tar.gz bcm5719-llvm-e7a8ccfaad752f02b4f0e3bf49321b9f23313a75.zip |
[Sanitizer] Reduce the usage of sanitizer blacklist in CodeGenModule
Get rid of cached CodeGenModule::SanOpts, which was used to turn off
sanitizer codegen options if current LLVM Module is blacklisted, and use
plain LangOpts.Sanitize instead.
1) Some codegen decisions (turning TBAA or writable strings on/off)
shouldn't depend on the contents of blacklist.
2) llvm.asan.globals should *always* be created, even if the module
is blacklisted - soon Clang's CodeGen where we read sanitizer
blacklist files, so we should properly report which globals are
blacklisted to the backend.
llvm-svn: 212499
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions