[compiler-rt] r294199 - [scudo] Fix standalone compiler-rt test breakage
Kostya Kortchinsky via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 09:24:52 PST 2017
Author: cryptoad
Date: Mon Feb 6 11:24:52 2017
New Revision: 294199
URL: http://llvm.org/viewvc/llvm-project?rev=294199&view=rev
Log:
[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
Modified:
compiler-rt/trunk/test/scudo/lit.cfg
Modified: compiler-rt/trunk/test/scudo/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/scudo/lit.cfg?rev=294199&r1=294198&r2=294199&view=diff
==============================================================================
--- compiler-rt/trunk/test/scudo/lit.cfg (original)
+++ compiler-rt/trunk/test/scudo/lit.cfg Mon Feb 6 11:24:52 2017
@@ -24,6 +24,8 @@ c_flags = ([config.target_cflags] +
"-pie",
"-O0",
"-UNDEBUG",
+ "-ldl",
+ "-lrt",
"-Wl,--gc-sections"])
def build_invocation(compile_flags):
More information about the llvm-commits
mailing list