aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2015-06-25 23:35:48 +0000
committerAnna Zaks <ganna@apple.com>2015-06-25 23:35:48 +0000
commit785c075786afef3863c00b3691bab4c678a19fb3 (patch)
treee1271d49ac72eb207e00679095cd33c08afce1d9 /clang/lib/CodeGen/CodeGenModule.cpp
parent4f652b69b110de48e07ea334f4d41f83bc4784b2 (diff)
downloadllvm-785c075786afef3863c00b3691bab4c678a19fb3.zip
llvm-785c075786afef3863c00b3691bab4c678a19fb3.tar.gz
llvm-785c075786afef3863c00b3691bab4c678a19fb3.tar.bz2
[asan] Do not instrument special purpose LLVM sections.
Do not instrument globals that are placed in sections containing "__llvm" in their name. This fixes a bug in ASan / PGO interoperability. ASan interferes with LLVM's PGO, which places its globals into a special section, which is memcpy-ed by the linker as a whole. When those goals are instrumented, ASan's memcpy wrapper reports an issue. http://reviews.llvm.org/D10541 llvm-svn: 240723
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions