This is an archive of the discontinued LLVM Phabricator instance.

[sanitizers] Set Darwin specific linker and compiler flags for sanitizer-common tests
ClosedPublic

Authored by zaks.anna on Oct 6 2016, 5:56 PM.

Details

Reviewers
kubamracek
beanz
Summary

Looks like we are missing these flags only in sanitizer-common, which results in linker warnings in some settings.

For example, we are not setting the minimal deployment target on the tests but are setting the minimal deployment target for the sanitizer library, which leads to the following warning on some bots: ld: warning: object file (sanitizer_posix_test.cc.i386.o) was built for newer OSX version (10.12) than being linked (10.11).

Diff Detail

Event Timeline

zaks.anna updated this revision to Diff 73870.Oct 6 2016, 5:56 PM
zaks.anna retitled this revision from to [sanitizers] Set Darwin specific linker and compiler flags for sanitizer-common tests.
zaks.anna updated this object.
zaks.anna added reviewers: kubamracek, beanz.
zaks.anna added a subscriber: llvm-commits.
kubamracek accepted this revision.Oct 10 2016, 4:00 AM
kubamracek edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Oct 10 2016, 4:00 AM
Eugene.Zelenko closed this revision.Nov 9 2016, 6:00 PM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in rL285255.