[compiler-rt] 0c5bfe6 - [profile][test] Pin Linux/instrprof-value-prof-warn.test to -fuse-ld=bfd
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 5 00:52:30 PST 2021
Author: Fangrui Song
Date: 2021-03-05T00:52:25-08:00
New Revision: 0c5bfe6bb82b64ed5c3f0823c042ffa715c5335d
URL: https://github.com/llvm/llvm-project/commit/0c5bfe6bb82b64ed5c3f0823c042ffa715c5335d
DIFF: https://github.com/llvm/llvm-project/commit/0c5bfe6bb82b64ed5c3f0823c042ffa715c5335d.diff
LOG: [profile][test] Pin Linux/instrprof-value-prof-warn.test to -fuse-ld=bfd
To work around https://sourceware.org/bugzilla/show_bug.cgi?id=27490
Added:
Modified:
compiler-rt/test/profile/Linux/instrprof-value-prof-warn.test
Removed:
################################################################################
diff --git a/compiler-rt/test/profile/Linux/instrprof-value-prof-warn.test b/compiler-rt/test/profile/Linux/instrprof-value-prof-warn.test
index de8407d6aef2..991fd2b69b5b 100644
--- a/compiler-rt/test/profile/Linux/instrprof-value-prof-warn.test
+++ b/compiler-rt/test/profile/Linux/instrprof-value-prof-warn.test
@@ -1,4 +1,4 @@
-RUN: %clang_pgogen -O2 -mllvm -disable-vp=false -mllvm -vp-static-alloc=true -DSTRESS=1 -o %t.ir.warn %S/../Inputs/instrprof-value-prof-real.c
+RUN: %clang_pgogen -O2 -fuse-ld=bfd -mllvm -disable-vp=false -mllvm -vp-static-alloc=true -DSTRESS=1 -o %t.ir.warn %S/../Inputs/instrprof-value-prof-real.c
RUN: env LLVM_PROFILE_FILE=%t.ir.profraw LLVM_VP_MAX_NUM_VALS_PER_SITE=255 %run %t.ir.warn 2>&1 |FileCheck --check-prefix=WARNING %s
# Test that enough static counters have been allocated
RUN: env LLVM_PROFILE_FILE=%t.ir.profraw LLVM_VP_MAX_NUM_VALS_PER_SITE=130 %run %t.ir.warn 2>&1 |FileCheck --check-prefix=NOWARNING --allow-empty %s
More information about the llvm-commits
mailing list