summaryrefslogtreecommitdiff
path: root/test/scudo
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2017-02-06 17:24:52 +0000
committerKostya Kortchinsky <kostyak@google.com>2017-02-06 17:24:52 +0000
commitd4e898fed21bc5457dbea5213efceef77c316390 (patch)
tree5238a021b3b69f4797463d71c02e76046295e660 /test/scudo
parentfe21981989da4979aa83770ed14b68d4e586c87a (diff)
[scudo] Fix standalone compiler-rt test breakage
Summary: Apparently "test standalone compiler-rt" still requires -ldl and -lrt for Scudo even with --gc-sections. I am not entirely sure why, so if anybody has some input, feel free to chime in. In the meantime, add again those two to fix the test. Reviewers: kcc, alekseyshl Reviewed By: kcc Subscribers: Hahnfeld, dberris, llvm-commits Differential Revision: https://reviews.llvm.org/D29527 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@294199 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/scudo')
-rw-r--r--test/scudo/lit.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/scudo/lit.cfg b/test/scudo/lit.cfg
index 0fa44087e..adf16f57b 100644
--- a/test/scudo/lit.cfg
+++ b/test/scudo/lit.cfg
@@ -24,6 +24,8 @@ c_flags = ([config.target_cflags] +
"-pie",
"-O0",
"-UNDEBUG",
+ "-ldl",
+ "-lrt",
"-Wl,--gc-sections"])
def build_invocation(compile_flags):