[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: Linux-->
# :penguin: Linux x64 Test Results

* 6179 tests passed
* 1393 tests skipped
* 2 tests failed

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

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

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only  -m64  /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/AIX/strict-init-order-warning.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/AIX/Output/strict-init-order-warning.cpp.tmp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/AIX/strict-init-order-warning.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/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  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/AIX/Output/strict-init-order-warning.cpp.tmp 2>&1 | FileCheck /home/gha/actions-runner/_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 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/AIX/Output/strict-init-order-warning.cpp.tmp
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_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 /home/gha/actions-runner/_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-linux-dynamic
<details>
<summary>AddressSanitizer-x86_64-linux-dynamic.TestCases/AIX/strict-init-order-warning.cpp</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only  -m64  -shared-libasan /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/AIX/strict-init-order-warning.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxDynamicConfig/TestCases/AIX/Output/strict-init-order-warning.cpp.tmp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -shared-libasan /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/AIX/strict-init-order-warning.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxDynamicConfig/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  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxDynamicConfig/TestCases/AIX/Output/strict-init-order-warning.cpp.tmp 2>&1 | FileCheck /home/gha/actions-runner/_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 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxDynamicConfig/TestCases/AIX/Output/strict-init-order-warning.cpp.tmp
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_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 /home/gha/actions-runner/_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