]> granicus.if.org Git - llvm/commit
[asan] add option to set shadow mapping offset
authorRyan Govostes <rzg@apple.com>
Thu, 5 May 2016 01:14:39 +0000 (01:14 +0000)
committerRyan Govostes <rzg@apple.com>
Thu, 5 May 2016 01:14:39 +0000 (01:14 +0000)
commitba89768f97b1d4326acb5e33c14eb23a05c7bea7
treed1a4e327731977f8cf2e35491c085cf68b8a53d6
parent8b3e014d452e902463a28f7950cc7ff7049f8f70
[asan] add option to set shadow mapping offset

Allowing overriding the default ASAN shadow mapping offset with the
-asan-shadow-offset option, and allow zero to be specified for both offset and
scale.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268586 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/scale-offset.ll [new file with mode: 0644]