[PATCH] clang: does not add -pie for tsan

Dmitry Vyukov dvyukov at google.com
Wed Nov 19 03:02:01 PST 2014


Hi kcc,

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

Files:
  include/clang/Driver/SanitizerArgs.h
  lib/Driver/SanitizerArgs.cpp
  lib/Driver/ToolChains.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6318.16370.patch
Type: text/x-patch
Size: 2047 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141119/01de40ce/attachment.bin>


More information about the llvm-commits mailing list