[TSan] Allow test contents to be copied before execution
authorJulian Lettner <julian.lettner@apple.com>
Sat, 10 Apr 2021 01:02:39 +0000 (18:02 -0700)
committerJulian Lettner <julian.lettner@apple.com>
Mon, 12 Apr 2021 20:30:06 +0000 (13:30 -0700)
commit05df5c54e8e15a444f59c535b2935fc19a90579b
tree05b355ab3222f0195fd82ecbc9a8754f05cbe6b4
parent5354a213a0e309f1bfd8d80c5041a559608d7968
[TSan] Allow test contents to be copied before execution

Allow test contents to be copied before execution by using
`%ld_flags_rpath_so`, `%ld_flags_rpath_exe`, and `%dynamiclib`
substitutions.

rdar://76302416

Differential Revision: https://reviews.llvm.org/D100240
compiler-rt/test/tsan/on_initialize_finalize_hooks.cpp