[compiler-rt] [asan] Disable strict init checking on AIX (PR #178012)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 26 21:01:17 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 1612 tests passed
* 1321 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### AddressSanitizer-x86_64-windows
<details>
<summary>AddressSanitizer-x86_64-windows.TestCases/AIX/strict-init-order-warning.cpp</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
C:/_work/llvm-project/llvm-project/build/./bin/clang.exe  -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -gcodeview -gcolumn-info   -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\AIX\strict-init-order-warning.cpp -o C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsConfig\TestCases\AIX\Output\strict-init-order-warning.cpp.tmp
# executed command: C:/_work/llvm-project/llvm-project/build/./bin/clang.exe -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -gcodeview -gcolumn-info -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta 'C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\AIX\strict-init-order-warning.cpp' -o 'C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsConfig\TestCases\AIX\Output\strict-init-order-warning.cpp.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 2
env ASAN_OPTIONS=strict_init_order=true  C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsConfig\TestCases\AIX\Output\strict-init-order-warning.cpp.tmp 2>&1 | FileCheck C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\AIX\strict-init-order-warning.cpp
# executed command: env ASAN_OPTIONS=strict_init_order=true 'C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsConfig\TestCases\AIX\Output\strict-init-order-warning.cpp.tmp'
# note: command had no output on stdout or stderr
# executed command: FileCheck 'C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\AIX\strict-init-order-warning.cpp'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  filecheck.exe C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\AIX\strict-init-order-warning.cpp
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>

### AddressSanitizer-x86_64-windows-dynamic
<details>
<summary>AddressSanitizer-x86_64-windows-dynamic.TestCases/AIX/strict-init-order-warning.cpp</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
C:/_work/llvm-project/llvm-project/build/./bin/clang.exe  -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -gcodeview -gcolumn-info   -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   -shared-libasan -D_MT -D_DLL -Wl,-nodefaultlib:libcmt,-defaultlib:msvcrt,-defaultlib:oldnames C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\AIX\strict-init-order-warning.cpp -o C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsDynamicConfig\TestCases\AIX\Output\strict-init-order-warning.cpp.tmp
# executed command: C:/_work/llvm-project/llvm-project/build/./bin/clang.exe -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -gcodeview -gcolumn-info -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -shared-libasan -D_MT -D_DLL -Wl,-nodefaultlib:libcmt,-defaultlib:msvcrt,-defaultlib:oldnames 'C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\AIX\strict-init-order-warning.cpp' -o 'C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsDynamicConfig\TestCases\AIX\Output\strict-init-order-warning.cpp.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 2
env ASAN_OPTIONS=strict_init_order=true  C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsDynamicConfig\TestCases\AIX\Output\strict-init-order-warning.cpp.tmp 2>&1 | FileCheck C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\AIX\strict-init-order-warning.cpp
# executed command: env ASAN_OPTIONS=strict_init_order=true 'C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsDynamicConfig\TestCases\AIX\Output\strict-init-order-warning.cpp.tmp'
# note: command had no output on stdout or stderr
# executed command: FileCheck 'C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\AIX\strict-init-order-warning.cpp'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  filecheck.exe C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\AIX\strict-init-order-warning.cpp
# `-----------------------------
# error: command failed with exit status: 2

--

```
</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/178012


More information about the llvm-commits mailing list