[llvm] [test][Support] Disable CFI-icall for DynamicLibrary Overload test (PR #202446)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 18:07:03 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lld-x86_64-ubuntu-fast` running on `as-builder-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/37834
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
2.804 [3/55/810] Linking CXX executable unittests/XRay/XRayTests
3.155 [3/54/811] Linking CXX executable unittests/Support/SupportTests
3.188 [3/53/812] Linking CXX executable unittests/tools/llvm-profdata/LLVMProfdataTests
3.571 [3/52/813] Linking CXX executable unittests/MC/MCTests
3.666 [3/51/814] Linking CXX executable unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests
3.812 [3/50/815] Linking CXX executable unittests/Transforms/Vectorize/VectorizeTests
4.664 [3/49/816] Linking CXX executable unittests/Target/WebAssembly/WebAssemblyTests
4.727 [3/48/817] Linking CXX executable unittests/Transforms/IPO/IPOTests
4.730 [3/47/818] Linking CXX executable unittests/Target/LoongArch/LoongArchTests
4.745 [3/46/819] Building CXX object unittests/Support/DynamicLibrary/CMakeFiles/DynamicLibraryTests.dir/DynamicLibraryTest.cpp.o
FAILED: unittests/Support/DynamicLibrary/CMakeFiles/DynamicLibraryTests.dir/DynamicLibraryTest.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/c++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/unittests/Support/DynamicLibrary -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/Support/DynamicLibrary -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/third-party/unittest/googletest/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT unittests/Support/DynamicLibrary/CMakeFiles/DynamicLibraryTests.dir/DynamicLibraryTest.cpp.o -MF unittests/Support/DynamicLibrary/CMakeFiles/DynamicLibraryTests.dir/DynamicLibraryTest.cpp.o.d -o unittests/Support/DynamicLibrary/CMakeFiles/DynamicLibraryTests.dir/DynamicLibraryTest.cpp.o -c /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp:62:32: error: attributes are not allowed on a function-definition
62 | TEST(DynamicLibrary, Overload) __attribute__((no_sanitize("cfi-icall"))) {
| ^~~~~~~~~~~~~
4.776 [3/45/820] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
4.902 [3/44/821] Linking CXX executable unittests/Target/SPIRV/SPIRVTests
4.909 [3/43/822] Linking CXX executable unittests/Target/PowerPC/PowerPCTests
4.960 [3/42/823] Linking CXX executable unittests/Frontend/LLVMFrontendTests
5.095 [3/41/824] Linking CXX executable bin/LLJITWithRemoteDebugging
5.116 [3/40/825] Linking CXX executable unittests/Target/ARM/ARMTests
5.336 [3/39/826] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
5.372 [3/38/827] Linking CXX executable unittests/Target/VE/VETests
5.428 [3/37/828] Linking CXX executable unittests/Transforms/Utils/UtilsTests
5.450 [3/36/829] Linking CXX executable unittests/Target/AArch64/AArch64Tests
5.491 [3/35/830] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
5.640 [3/34/831] Linking CXX executable bin/OrcV2CBindingsVeryLazy
5.670 [3/33/832] Linking CXX executable unittests/Target/RISCV/RISCVTests
5.832 [3/32/833] Linking CXX executable bin/OrcV2CBindingsBasicUsage
6.003 [3/31/834] Linking CXX executable bin/OrcV2CBindingsRemovableCode
6.022 [3/30/835] Linking CXX executable bin/OrcV2CBindingsAddObjectFile
6.048 [3/29/836] Linking CXX executable bin/OrcV2CBindingsLazy
6.086 [3/28/837] Linking CXX executable bin/LLJITWithThinLTOSummaries
6.469 [3/27/838] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
6.477 [3/26/839] Linking CXX executable unittests/Analysis/AnalysisTests
6.515 [3/25/840] Linking CXX executable unittests/Target/X86/X86Tests
6.592 [3/24/841] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
6.734 [3/23/842] Linking CXX executable unittests/MC/AMDGPU/AMDGPUMCTests
6.800 [3/22/843] Linking CXX executable unittests/IR/IRTests
6.805 [3/21/844] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
6.905 [3/20/845] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
6.934 [3/19/846] Linking CXX executable unittests/Passes/Plugins/PluginsTests
6.945 [3/18/847] Linking CXX executable unittests/Target/AMDGPU/AMDGPUTests
7.069 [3/17/848] Linking CXX executable bin/Kaleidoscope-Ch6
7.084 [3/16/849] Linking CXX executable unittests/Passes/PassBuilderBindings/PassesBindingsTests
7.525 [3/15/850] Linking CXX executable bin/Kaleidoscope-Ch5
7.527 [3/14/851] Linking CXX executable bin/Kaleidoscope-Ch7
7.536 [3/13/852] Linking CXX executable unittests/ExecutionEngine/MCJIT/MCJITTests
7.700 [3/12/853] Linking CXX executable bin/Kaleidoscope-Ch4
```
</details>
https://github.com/llvm/llvm-project/pull/202446
More information about the llvm-commits
mailing list