aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMingming Liu <mingmingl@google.com>2023-12-19 21:10:41 -0800
committerGitHub <noreply@github.com>2023-12-19 21:10:41 -0800
commit5136c167a2573fbd05179849cb41b198c4862b12 (patch)
treea03c72970188a9db463f73186e168e3c4beed81b
parent92f17714e8410986ebfd7b3ebbc48529d6449253 (diff)
downloadllvm-5136c167a2573fbd05179849cb41b198c4862b12.zip
llvm-5136c167a2573fbd05179849cb41b198c4862b12.tar.gz
llvm-5136c167a2573fbd05179849cb41b198c4862b12.tar.bz2
[compiler-rt][test]Mark thinlto icp test as UNSUPPORTED on ppc. (#76008)
The test failure is about failed to build instrumented binary on ppc (https://lab.llvm.org/buildbot/#/builders/18/builds/13228). Not sure how to fix this for now. Mark the test unsupported on ppc. ``` RUN: at line 46: /home/buildbots/ppc64be-sanitizer/sanitizer-ppc64be/build/build_gcc/./bin/clang --driver-mode=g++ -m64 -ldl -fprofile-generate -fuse-ld=lld -O2 lib.cpp main.cpp -o main + /home/buildbots/ppc64be-sanitizer/sanitizer-ppc64be/build/build_gcc/./bin/clang --driver-mode=g++ -m64 -ldl -fprofile-generate -fuse-ld=lld -O2 lib.cpp main.cpp -o main ld.lld: error: /lib/../lib64/Scrt1.o: ABI version 1 is not supported clang: error: linker command failed with exit code 1 (use -v to see invocation) ```
-rw-r--r--compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp b/compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp
index 08efa42..860c054 100644
--- a/compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp
+++ b/compiler-rt/test/profile/instrprof-thinlto-indirect-call-promotion.cpp
@@ -15,6 +15,10 @@
// REQUIRES: windows || linux || darwin
+// The test failed on ppc when building the instrumented binary.
+// ld.lld: error: /lib/../lib64/Scrt1.o: ABI version 1 is not supported
+// UNSUPPORTED: ppc
+
// This test and IR test llvm/test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll
// are complementary to each other; a compiler-rt test has better test coverage
// on different platforms, and the IR test is less restrictive in terms of