This is an archive of the discontinued LLVM Phabricator instance.

[ASan] Deduplicate interception-in-shared-lib-test.cc by introducing platform-specific substitutions for rpath linker flags
Needs ReviewPublic

Authored by glider on Apr 1 2015, 2:07 AM.

Details

Summary

Also make suppressions-library.cc use the same flags to avoid warnings about unused -rpath flags.

The same substitutions will be used to make coverage tests work on both Linux and Darwin without duplicating the code.

Diff Detail

Event Timeline

glider updated this revision to Diff 22959.Apr 1 2015, 2:07 AM
glider retitled this revision from to [ASan] Deduplicate interception-in-shared-lib-test.cc by introducing platform-specific substitutions for rpath linker flags.
glider updated this object.
glider edited the test plan for this revision. (Show Details)
glider added reviewers: eugenis, kubamracek.
glider added a subscriber: Unknown Object (MLST).
test/asan/TestCases/Darwin/interception-in-shared-lib-test.cc