This is an archive of the discontinued LLVM Phabricator instance.

[asan] Set the darwin deployment target for the dead-strip test
ClosedPublic

Authored by zaks.anna on Oct 28 2016, 5:17 PM.

Details

Summary

ASan dead-strip support relies on a linker option that only exists in 10.11 and later, so the LLVM instrumentation checks for the deployment target. This test does not pass when clang is built to choose lower deployment target by default but runs on newer host.

(Note, the REQUIRES: osx-ld64-live_support clause only checks the host and not the target OS.)

Diff Detail

Repository
rL LLVM

Event Timeline

zaks.anna updated this revision to Diff 76278.Oct 28 2016, 5:17 PM
zaks.anna retitled this revision from to [asan] Set the darwin deployment target for the dead-strip test.
zaks.anna updated this object.
zaks.anna added a reviewer: kubamracek.
zaks.anna added subscribers: llvm-commits, rgov.
kubamracek accepted this revision.Oct 28 2016, 5:34 PM
kubamracek edited edge metadata.
This revision is now accepted and ready to land.Oct 28 2016, 5:34 PM
This revision was automatically updated to reflect the committed changes.