[clang] [clang] Set linkage name for atexit destructor debug info (PR #189794)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 31 22:22:13 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 53472 tests passed
* 1055 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.DebugInfo/CXX/aix-static-init.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -triple powerpc-ibm-aix-xcoff -emit-llvm -x c++ -debug-info-kind=limited < C:\_work\llvm-project\llvm-project\clang\test\DebugInfo\CXX\aix-static-init.cpp | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\DebugInfo\CXX\aix-static-init.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -triple powerpc-ibm-aix-xcoff -emit-llvm -x c++ -debug-info-kind=limited
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\DebugInfo\CXX\aix-static-init.cpp'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\DebugInfo\CXX\aix-static-init.cpp:55:11: error: CHECK: expected string not found in input
# | // CHECK: ![[DBGVAR16]] = distinct !DISubprogram(name: "__cxx_global_var_init", scope: !{{[0-9]+}}, file: !{{[0-9]+}}, type: !{{[0-9]+}}, flags: DIFlagArtificial, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !{{[0-9]+}})
# | ^
# | <stdin>:65:2: note: scanning from here
# | }
# | ^
# | <stdin>:65:2: note: with "DBGVAR16" equal to "14"
# | }
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\DebugInfo\CXX\aix-static-init.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 60: ; Function Attrs: noinline nounwind
# | 61: define internal void @_GLOBAL__D_a() #0 !dbg !28 {
# | 62: entry:
# | 63: call void @__finalize_v(), !dbg !29
# | 64: ret void
# | 65: }
# | check:55'0 X error: no match found
# | check:55'1 with "DBGVAR16" equal to "14"
# | 66:
# | check:55'0 ~
# | 67: attributes #0 = { noinline nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
# | check:55'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 68: attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
# | check:55'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 69: attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
# | check:55'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 70: attributes #3 = { nounwind }
# | check:55'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/189794
More information about the cfe-commits
mailing list