[asan] simplify the code that compute the shadow offset; get rid of two internal...
authorKostya Serebryany <kcc@google.com>
Mon, 24 Feb 2014 13:40:24 +0000 (13:40 +0000)
committerKostya Serebryany <kcc@google.com>
Mon, 24 Feb 2014 13:40:24 +0000 (13:40 +0000)
commit740a00491b012ebf5fbb5c63eac5d070e3e55c00
tree4d8ca4d5aff2b10749f348684ed34800b8667313
parentd7e12561a5de67edd691843f5795a4a8b470c03c
[asan] simplify the code that compute the shadow offset; get rid of two internal flags that allowed to override it. The tests pass, but still this change might break asan on some platform not covered by tests. If you see this, please submit a fix with a test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202033 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp