[clang] [AST][NFC] Use struct as string table for AttrDoc (PR #246953)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 29 07:27:30 PST 2026


llvm-ci wrote:

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

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

<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)
...
PASS: SanitizerCommon-tsan-powerpc64le-Linux :: Linux/recv_msg_trunc.cpp (2006 of 2915)
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60..
PASS: SanitizerCommon-tsan-powerpc64le-Linux :: Posix/bsearch.cpp (2007 of 2915)
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60..
UNSUPPORTED: SanitizerCommon-tsan-powerpc64le-Linux :: Posix/c11_call_once.c (2008 of 2915)
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60..
PASS: SanitizerCommon-tsan-powerpc64le-Linux :: Linux/ptsname.c (2009 of 2915)
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60..
PASS: SanitizerCommon-tsan-powerpc64le-Linux :: Linux/pvalloc-overflow.cpp (2010 of 2915)
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60..
FAIL: SanitizerCommon-lsan-powerpc64le-Linux :: hard_rss_limit_mb_test.cpp (2011 of 2915)
******************** TEST 'SanitizerCommon-lsan-powerpc64le-Linux :: hard_rss_limit_mb_test.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/./bin/clang  --driver-mode=g++ -gline-tables-only -fsanitize=leak  -m64 -fno-function-sections -funwind-tables  -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test -ldl -O2 /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-powerpc64le-Linux/Output/hard_rss_limit_mb_test.cpp.tmp
# executed command: /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=leak -m64 -fno-function-sections -funwind-tables -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test -ldl -O2 /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-powerpc64le-Linux/Output/hard_rss_limit_mb_test.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
env LSAN_OPTIONS=hard_rss_limit_mb=100                           not  /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-powerpc64le-Linux/Output/hard_rss_limit_mb_test.cpp.tmp 2>&1 | FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp
# executed command: env LSAN_OPTIONS=hard_rss_limit_mb=100 not /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-powerpc64le-Linux/Output/hard_rss_limit_mb_test.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp
# .---command stderr------------
# | /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp:42:11: error: CHECK: expected string not found in input
# | // CHECK: hard rss limit exhausted
# |           ^
# | <stdin>:1:1: note: scanning from here
# | [0]
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: [0] 
# | check:42'0    {      search range start (exclusive)
# | check:42'1           error: no match found in search range
# |             2: [1000] 
# |             3: [2000] 
# |             4: [3000] 
# |             5: [4000] 
# |             6: [5000] 
Step 9 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
PASS: SanitizerCommon-tsan-powerpc64le-Linux :: Linux/recv_msg_trunc.cpp (2006 of 2915)
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60..
PASS: SanitizerCommon-tsan-powerpc64le-Linux :: Posix/bsearch.cpp (2007 of 2915)
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60..
UNSUPPORTED: SanitizerCommon-tsan-powerpc64le-Linux :: Posix/c11_call_once.c (2008 of 2915)
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60..
PASS: SanitizerCommon-tsan-powerpc64le-Linux :: Linux/ptsname.c (2009 of 2915)
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60..
PASS: SanitizerCommon-tsan-powerpc64le-Linux :: Linux/pvalloc-overflow.cpp (2010 of 2915)
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60..
FAIL: SanitizerCommon-lsan-powerpc64le-Linux :: hard_rss_limit_mb_test.cpp (2011 of 2915)
******************** TEST 'SanitizerCommon-lsan-powerpc64le-Linux :: hard_rss_limit_mb_test.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/./bin/clang  --driver-mode=g++ -gline-tables-only -fsanitize=leak  -m64 -fno-function-sections -funwind-tables  -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test -ldl -O2 /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-powerpc64le-Linux/Output/hard_rss_limit_mb_test.cpp.tmp
# executed command: /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=leak -m64 -fno-function-sections -funwind-tables -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test -ldl -O2 /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-powerpc64le-Linux/Output/hard_rss_limit_mb_test.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
env LSAN_OPTIONS=hard_rss_limit_mb=100                           not  /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-powerpc64le-Linux/Output/hard_rss_limit_mb_test.cpp.tmp 2>&1 | FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp
# executed command: env LSAN_OPTIONS=hard_rss_limit_mb=100 not /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-powerpc64le-Linux/Output/hard_rss_limit_mb_test.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp
# .---command stderr------------
# | /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp:42:11: error: CHECK: expected string not found in input
# | // CHECK: hard rss limit exhausted
# |           ^
# | <stdin>:1:1: note: scanning from here
# | [0]
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: [0] 
# | check:42'0    {      search range start (exclusive)
# | check:42'1           error: no match found in search range
# |             2: [1000] 
# |             3: [2000] 
# |             4: [3000] 
# |             5: [4000] 
# |             6: [5000] 

```

</details>

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


More information about the cfe-commits mailing list