]> granicus.if.org Git - clang/commit
clang: do not add -pie for tsan
authorDmitry Vyukov <dvyukov@google.com>
Fri, 21 Nov 2014 12:19:01 +0000 (12:19 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Fri, 21 Nov 2014 12:19:01 +0000 (12:19 +0000)
commitd05198d52a4d56b956d8b745000721c496e0a068
tree47be38330057c33acab31fc051b8cdfc42ded1ac
parent18faea6ed629e1be965f58cd84b64382d30d7be7
clang: do not add -pie for tsan

Revision 220571 removes the requirement to use -pie for tsan binaries. So remove -pie from driver.
Also s/hasZeroBaseShadow/requiresPIE/ because that is what it is used for. Msan does not have zero-based shadow, but requires pie. And in general the relation between zero-based shadow and pie is unclear.

http://reviews.llvm.org/D6318

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222526 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/SanitizerArgs.h
lib/Driver/SanitizerArgs.cpp
lib/Driver/ToolChains.cpp