diff options
author | Kuba Mracek <mracek@apple.com> | 2018-03-08 21:02:52 +0000 |
---|---|---|
committer | Kuba Mracek <mracek@apple.com> | 2018-03-08 21:02:52 +0000 |
commit | e70e5fcc7eb07acf7ec45930ba3eff035c068f45 (patch) | |
tree | 8ce97af50ea91d5b47b47d1491c5d74163596474 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 8842da8e070866d9e09dd19e2869f395ffd1d7da (diff) | |
download | llvm-e70e5fcc7eb07acf7ec45930ba3eff035c068f45.zip llvm-e70e5fcc7eb07acf7ec45930ba3eff035c068f45.tar.gz llvm-e70e5fcc7eb07acf7ec45930ba3eff035c068f45.tar.bz2 |
[asan] Fix a false positive ODR violation due to LTO ConstantMerge pass [compiler-rt part, take 3]
This fixes a false positive ODR violation that is reported by ASan when using LTO. In cases, where two constant globals have the same value, LTO will merge them, which breaks ASan's ODR detection. See the included testcase for an example.
Differential Revision: https://reviews.llvm.org/D43959
llvm-svn: 327062
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions