[clang] [clang][tools] Handle weak (and duplicate) symbols in clang-extdef-mapping (PR #222010)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 10 03:46:30 PDT 2026
=?utf-8?q?Balázs_Kéri?= <balazs.keri at ericsson.com>,
=?utf-8?q?Balázs_Kéri?= <balazs.keri at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/222010 at github.com>
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 61407 tests passed
* 1859 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Misc/warning-flags.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
diagtool list-warnings > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Misc/Output/warning-flags.c.tmp 2>&1
# executed command: diagtool list-warnings
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Misc/Output/warning-flags.c.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/warning-flags.c
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Misc/Output/warning-flags.c.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/warning-flags.c
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/warning-flags.c:21:8: error: CHECK: expected string not found in input
# | CHECK: Warnings without flags (56):
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Misc/Output/warning-flags.c.tmp:1:1: note: scanning from here
# | Warnings with flags (2261):
# | ^
# |
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Misc/Output/warning-flags.c.tmp
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/warning-flags.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: Warnings with flags (2261):
# | check:21'0 { search range start (exclusive)
# | check:21'1 error: no match found in search range
# | 2: backslash_newline_space [-Wbackslash-newline-escape]
# | 3: compat_c23_c23_attributes [-Wpre-c23-compat]
# | 4: compat_c23_c23_pp_directive [-Wpre-c23-compat]
# | 5: compat_c23_c_enum_fixed_underlying_type [-Wpre-c23-compat]
# | 6: compat_c23_c_label_at_end_of_compound_statement [-Wpre-c23-compat]
# | .
# | .
# | .
# | 2323:
# | 2324: Percentage of warnings with flags: 97.54%
# | 2325: Number of unique flags: 1057
# | 2326: Average number of diagnostics per flag: 2.139
# | 2327: Number in -Wpedantic (not covered by other -W flags): 24
# | 2328:
# | check:21'2 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/222010
More information about the cfe-commits
mailing list