This is an archive of the discontinued LLVM Phabricator instance.

clang: does not add -pie for tsan
ClosedPublic

Authored by dvyukov on Nov 19 2014, 3:01 AM.

Details

Summary

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.

Diff Detail

Event Timeline

dvyukov updated this revision to Diff 16370.Nov 19 2014, 3:01 AM
dvyukov retitled this revision from to clang: does not add -pie for tsan.
dvyukov updated this object.
dvyukov edited the test plan for this revision. (Show Details)
dvyukov added a reviewer: kcc.
dvyukov added subscribers: samsonov, eugenis, glider, Unknown Object (MLST).
eugenis accepted this revision.Nov 19 2014, 4:42 AM
eugenis added a reviewer: eugenis.

LGTM

This revision is now accepted and ready to land.Nov 19 2014, 4:42 AM
samsonov accepted this revision.Nov 19 2014, 1:16 PM
samsonov added a reviewer: samsonov.

LGTM. Thanks!

Committed in r 222526.