[compiler-rt] 8d0fdd4 - [compiler-rt][scudo][LIT] Use target_suffix instead of target-arch

Jinsong Ji via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 20:35:17 PDT 2020


Author: Jinsong Ji
Date: 2020-05-20T03:34:50Z
New Revision: 8d0fdd44eef636398193d7337380f6f0d5125d62

URL: https://github.com/llvm/llvm-project/commit/8d0fdd44eef636398193d7337380f6f0d5125d62
DIFF: https://github.com/llvm/llvm-project/commit/8d0fdd44eef636398193d7337380f6f0d5125d62.diff

LOG: [compiler-rt][scudo][LIT] Use target_suffix instead of target-arch

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

Added: 
    

Modified: 
    compiler-rt/test/scudo/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/scudo/lit.cfg.py b/compiler-rt/test/scudo/lit.cfg.py
index dc96044daad3..236d645f3b94 100644
--- a/compiler-rt/test/scudo/lit.cfg.py
+++ b/compiler-rt/test/scudo/lit.cfg.py
@@ -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']


        


More information about the llvm-commits mailing list