]> granicus.if.org Git - clang/commit
MemorySanitizer does not require PIE.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 21 Oct 2015 20:20:03 +0000 (20:20 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 21 Oct 2015 20:20:03 +0000 (20:20 +0000)
commitb7257774a584cd48fc3fdb74617754ce1f65bf3a
tree31b0af2f569353264f527c04d0d69e453df5e7f5
parent0b4fbcdc8476220024101e272540beff4cb6066e
MemorySanitizer does not require PIE.

Since r249754 MemorySanitizer should work equally well for PIE and
non-PIE executables.

Beware, with this change -fsanitize=memory no longer adds implicit
-fPIE -pie compiler/linker flags, unless the target defaults to PIE.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250941 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/SanitizerArgs.cpp
test/Driver/fsanitize.c