Skip to content

Commit

Permalink
[compiler-rt][scudo][LIT] Use target_suffix instead of target-arch
Browse files Browse the repository at this point in the history
Per target runtime dir may change the suffix of shared libs.
We can not assume we are always building with per_target_runtime_dir on.

Reviewed By: cryptoad

Differential Revision: https://reviews.llvm.org/D80243
  • Loading branch information
Jinsong Ji committed May 20, 2020
1 parent 62f3ef2 commit 8d0fdd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/test/scudo/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# Path to the shared library
shared_libscudo = os.path.join(config.compiler_rt_libdir, "libclang_rt.scudo%s.so" % config.target_suffix)
shared_minlibscudo = os.path.join(config.compiler_rt_libdir, "libclang_rt.scudo_minimal-%s.so" % config.target_arch)
shared_minlibscudo = os.path.join(config.compiler_rt_libdir, "libclang_rt.scudo_minimal%s.so" % config.target_suffix)

# Test suffixes.
config.suffixes = ['.c', '.cpp', '.test']
Expand Down

0 comments on commit 8d0fdd4

Please sign in to comment.