[Test][compiler-rt]Require lld for instrprof-vtable-value-prof.cpp #97228
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix test failure on https://lab.llvm.org/buildbot/#/builders/95/builds/672
/home/buildbots/llvm-external-buildbots/clang.16.0.1/bin/ld.lld
is used to run the test [2]. It doesn't know new options like-enable-vtable-value-profiling
(which was introduced in 1351d17)lld
andlld-available
.Tested:
lld
installed previously[3], I can reproduce the failure.requires: lld
, the test become unsupported.[1] https://lab.llvm.org/buildbot/#/builders/95/builds/672/steps/4/logs/stdio
[2] https://lab.llvm.org/buildbot/#/builders/95/builds/672/steps/6/logs/FAIL__Profile-powerpc64le__instrprof-vtable-value-
[3]
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_PROJECTS='clang;compiler-rt' -DLLVM_USE_SPLIT_DWARF=On -DLLVM_USE_LINKER=lld -DLLVM_ENABLE_SPHINX=ON -DLLVM_OPTIMIZED_TABLEGEN=TRUE -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=1 ../llvm