aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt/test/ctx_profile/lit.cfg.py
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2024-05-17 19:09:46 -0700
committerMircea Trofin <mtrofin@google.com>2024-05-17 21:55:39 -0700
commitcfe9deb1353021a1c1fe4731ec3e90f702dbd43d (patch)
tree914fe03280b6c9ebe9bf4a8eac325b90b9661bd6 /compiler-rt/test/ctx_profile/lit.cfg.py
parent702198fc9ac5dba392f9d9ba7c56467996343c0a (diff)
downloadllvm-cfe9deb1353021a1c1fe4731ec3e90f702dbd43d.zip
llvm-cfe9deb1353021a1c1fe4731ec3e90f702dbd43d.tar.gz
llvm-cfe9deb1353021a1c1fe4731ec3e90f702dbd43d.tar.bz2
Reapply "[ctx_profile] Integration test (#92456)"
This reverts commit 881f20e958e80bd30463fc57d2d3e891bcb8a571. Passing -ldl -lpthread explicitly
Diffstat (limited to 'compiler-rt/test/ctx_profile/lit.cfg.py')
-rw-r--r--compiler-rt/test/ctx_profile/lit.cfg.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/ctx_profile/lit.cfg.py b/compiler-rt/test/ctx_profile/lit.cfg.py
index a56dabb..bf62093 100644
--- a/compiler-rt/test/ctx_profile/lit.cfg.py
+++ b/compiler-rt/test/ctx_profile/lit.cfg.py
@@ -29,3 +29,7 @@ config.name = "CtxProfile" + config.name_suffix
config.test_source_root = os.path.dirname(__file__)
# Default test suffixes.
config.suffixes = [".c", ".cpp", ".test"]
+
+config.substitutions.append(
+ ("%clangxx ", " ".join([config.clang] + config.cxx_mode_flags) + " -ldl -lpthread ")
+)