diff options
| author | Anna Zaks <ganna@apple.com> | 2015-06-25 23:35:48 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2015-06-25 23:35:48 +0000 |
| commit | 785c075786afef3863c00b3691bab4c678a19fb3 (patch) | |
| tree | e1271d49ac72eb207e00679095cd33c08afce1d9 /llvm/lib/Object/Error.cpp | |
| parent | 4f652b69b110de48e07ea334f4d41f83bc4784b2 (diff) | |
| download | llvm-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 'llvm/lib/Object/Error.cpp')
0 files changed, 0 insertions, 0 deletions
