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.
| Paths 
 |  Differential  D8763  
[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 
Revision Contents 
 
Diff 22959 test/asan/TestCases/Darwin/interception-in-shared-lib-test.cc
 test/asan/TestCases/Linux/interception-in-shared-lib-test.cc
 test/asan/TestCases/Posix/interception-in-shared-lib-test.cc
 test/asan/TestCases/suppressions-library.cc
 test/asan/lit.cfg
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||