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.
Details
Details
- Reviewers
eugenis kcc - Commits
- rGa257639a6935: [asan] Don't check ODR violations for particular types of globals
rCRT349015: [asan] Don't check ODR violations for particular types of globals
rL349015: [asan] Don't check ODR violations for particular types of globals
rC349015: [asan] Don't check ODR violations for particular types of globals
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
2193 ↗ | (On Diff #177928) | did you mean "from linker optimizations"? |