[clang] [clang-format] Handle token-pasted function decl names (PR #142251)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Sat May 31 12:26:33 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` running on `sanitizer-buildbot1` while building `clang` at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/66/builds/14762

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:248: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:259: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/21/lib/i386-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:237: warning: Compiler lib dir != compiler-rt lib dir
Compiler libdir:     "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/i386-unknown-linux-gnu"
compiler-rt libdir:  "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:248: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:259: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/21/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 10857 tests, 88 workers --
Testing:  0.. 10.. 20.
FAIL: CtxProfile-Unit :: ./CtxProfile-x86_64-UnitTest/8/15 (2848 of 10857)
******************** TEST 'CtxProfile-Unit :: ./CtxProfile-x86_64-UnitTest/8/15' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:/home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/ctx_profile/tests/./CtxProfile-x86_64-UnitTest-CtxProfile-Unit-560065-8-15.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=15 GTEST_SHARD_INDEX=8 /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/ctx_profile/tests/./CtxProfile-x86_64-UnitTest
--

Note: This is test shard 9 of 15.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from ContextTest
[ RUN      ] ContextTest.ConcurrentRootCollection

--
exit: -11
--
shard JSON output does not exist: /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/ctx_profile/tests/./CtxProfile-x86_64-UnitTest-CtxProfile-Unit-560065-8-15.json
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 

8 warning(s) in tests
Slowest Tests:
--------------------------------------------------------------------------
52.55s: libFuzzer-i386-default-Linux :: disable-leaks.test
51.49s: libFuzzer-i386-libcxx-Linux :: value-profile-switch.test
51.17s: libFuzzer-i386-static-libcxx-Linux :: disable-leaks.test
50.83s: libFuzzer-i386-libcxx-Linux :: disable-leaks.test
50.57s: ThreadSanitizer-x86_64 :: bench_threads.cpp
49.38s: libFuzzer-i386-default-Linux :: value-profile-switch.test
48.97s: libFuzzer-i386-static-libcxx-Linux :: value-profile-switch.test
47.33s: libFuzzer-x86_64-default-Linux :: out-of-process-fuzz.test
47.15s: libFuzzer-i386-default-Linux :: fork_corpus_groups.test
46.43s: libFuzzer-i386-libcxx-Linux :: fork_corpus_groups.test
45.31s: libFuzzer-i386-libcxx-Linux :: fork.test
44.25s: libFuzzer-x86_64-libcxx-Linux :: out-of-process-fuzz.test
44.05s: libFuzzer-x86_64-static-libcxx-Linux :: fork_corpus_groups.test
43.96s: libFuzzer-i386-default-Linux :: value-profile-cmp4.test
43.76s: libFuzzer-i386-default-Linux :: fork.test
43.15s: libFuzzer-x86_64-libcxx-Linux :: fork_corpus_groups.test
Step 9 (test compiler-rt symbolizer) failure: test compiler-rt symbolizer (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:248: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:259: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/21/lib/i386-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:237: warning: Compiler lib dir != compiler-rt lib dir
Compiler libdir:     "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/i386-unknown-linux-gnu"
compiler-rt libdir:  "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:248: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:259: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/21/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 10857 tests, 88 workers --
Testing:  0.. 10.. 20.
FAIL: CtxProfile-Unit :: ./CtxProfile-x86_64-UnitTest/8/15 (2848 of 10857)
******************** TEST 'CtxProfile-Unit :: ./CtxProfile-x86_64-UnitTest/8/15' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:/home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/ctx_profile/tests/./CtxProfile-x86_64-UnitTest-CtxProfile-Unit-560065-8-15.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=15 GTEST_SHARD_INDEX=8 /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/ctx_profile/tests/./CtxProfile-x86_64-UnitTest
--

Note: This is test shard 9 of 15.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from ContextTest
[ RUN      ] ContextTest.ConcurrentRootCollection

--
exit: -11
--
shard JSON output does not exist: /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/ctx_profile/tests/./CtxProfile-x86_64-UnitTest-CtxProfile-Unit-560065-8-15.json
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..

8 warning(s) in tests
Slowest Tests:
--------------------------------------------------------------------------
52.55s: libFuzzer-i386-default-Linux :: disable-leaks.test
51.49s: libFuzzer-i386-libcxx-Linux :: value-profile-switch.test
51.17s: libFuzzer-i386-static-libcxx-Linux :: disable-leaks.test
50.83s: libFuzzer-i386-libcxx-Linux :: disable-leaks.test
50.57s: ThreadSanitizer-x86_64 :: bench_threads.cpp
49.38s: libFuzzer-i386-default-Linux :: value-profile-switch.test
48.97s: libFuzzer-i386-static-libcxx-Linux :: value-profile-switch.test
47.33s: libFuzzer-x86_64-default-Linux :: out-of-process-fuzz.test
47.15s: libFuzzer-i386-default-Linux :: fork_corpus_groups.test
46.43s: libFuzzer-i386-libcxx-Linux :: fork_corpus_groups.test
45.31s: libFuzzer-i386-libcxx-Linux :: fork.test
44.25s: libFuzzer-x86_64-libcxx-Linux :: out-of-process-fuzz.test
44.05s: libFuzzer-x86_64-static-libcxx-Linux :: fork_corpus_groups.test
43.96s: libFuzzer-i386-default-Linux :: value-profile-cmp4.test
43.76s: libFuzzer-i386-default-Linux :: fork.test
43.15s: libFuzzer-x86_64-libcxx-Linux :: fork_corpus_groups.test

```

</details>

https://github.com/llvm/llvm-project/pull/142251


More information about the cfe-commits mailing list