diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2018-12-13 09:47:39 +0000 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2018-12-13 09:47:39 +0000 |
| commit | a257639a6935a2c63377784c5c9c3b73864a2582 (patch) | |
| tree | fb08dfa65a4ad2e8bb9720ef15b0d172e892fe18 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 577b9fc54370b51262b11f5fee7474e9c71f4507 (diff) | |
| download | llvm-a257639a6935a2c63377784c5c9c3b73864a2582.zip llvm-a257639a6935a2c63377784c5c9c3b73864a2582.tar.gz llvm-a257639a6935a2c63377784c5c9c3b73864a2582.tar.bz2 | |
[asan] Don't check ODR violations for particular types of globals
Summary:
private and internal: should not trigger ODR at all.
unnamed_addr: current ODR checking approach fail and rereport false violation if
a linker merges such globals
linkonce_odr, weak_odr: could cause similar problems and they are already not
instrumented for ELF.
Reviewers: eugenis, kcc
Subscribers: kubamracek, hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D55621
llvm-svn: 349015
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
