[llvm] [test][Support] Disable CFI-icall for DynamicLibrary Overload test (#202446) (PR #202684)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 9 18:55:54 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 6 "test-build-unified-tree-check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/180/builds/39327
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
...
2.259 [3/11/789] Linking CXX executable unittests/Transforms/Vectorize/VectorizeTests
2.259 [3/10/790] Linking CXX executable unittests/XRay/XRayTests
2.266 [3/9/791] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
2.292 [3/8/792] Linking CXX executable unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests
2.297 [3/7/793] Linking CXX executable unittests/IR/IRTests
2.304 [3/6/794] Linking CXX executable unittests/ADT/ADTTests
2.308 [3/5/795] Linking CXX executable unittests/Transforms/Utils/UtilsTests
2.362 [3/4/796] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
2.893 [3/3/797] Linking CXX executable unittests/Support/SupportTests
4.868 [3/2/798] 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-7/llvm-nvptx-nvidia-ubuntu/build/unittests/Support/DynamicLibrary -I/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/unittests/Support/DynamicLibrary -I/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/include -I/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/include -I/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/third-party/unittest/googletest/include -I/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/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-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp
In file included from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/include/llvm/Support/DynamicLibrary.h:16,
from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp:9:
/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/include/llvm/Support/Compiler.h:649:32: error: attributes are not allowed on a function-definition
649 | #define LLVM_NO_SANITIZE(KIND) __attribute__((no_sanitize(KIND)))
| ^~~~~~~~~~~~~
/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp:62:32: note: in expansion of macro ‘LLVM_NO_SANITIZE’
62 | TEST(DynamicLibrary, Overload) LLVM_NO_SANITIZE("cfi-icall") {
| ^~~~~~~~~~~~~~~~
9.831 [3/1/799] Building CXX object unittests/ObjectYAML/CMakeFiles/ObjectYAMLTests.dir/DXContainerYAMLTest.cpp.o
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/202684
More information about the llvm-commits
mailing list