[llvm-branch-commits] [sanitizer] Capitalize HINT in reports (PR #195734)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon May 4 13:46:26 PDT 2026


github-actions[bot] wrote:

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

* 1625 tests passed
* 1340 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/Windows/report_after_syminitialize.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 6
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    -O0 C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\Windows\report_after_syminitialize.cpp -o C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsConfig\TestCases\Windows\Output\report_after_syminitialize.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 -O0 'C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\Windows\report_after_syminitialize.cpp' -o 'C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsConfig\TestCases\Windows\Output\report_after_syminitialize.cpp.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 7
env ASAN_OPTIONS=external_symbolizer_path=non-existent\\\\asdf not  C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsConfig\TestCases\Windows\Output\report_after_syminitialize.cpp.tmp 2>&1 | FileCheck C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\Windows\report_after_syminitialize.cpp
# executed command: env 'ASAN_OPTIONS=external_symbolizer_path=non-existent\\\\asdf' not 'C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsConfig\TestCases\Windows\Output\report_after_syminitialize.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\Windows\report_after_syminitialize.cpp'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\Windows\report_after_syminitialize.cpp:25:12: error: CHECK: expected string not found in input
# |  // CHECK: Hint: address points to the zero page.
# |            ^
# | <stdin>:3:55: note: scanning from here
# | ==5096==The signal is caused by a WRITE memory access.
# |                                                       ^
# | <stdin>:4:9: note: possible intended match here
# | ==5096==HINT: address points to the zero page.
# |         ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\Windows\report_after_syminitialize.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ================================================================= 
# |             2: ==5096==ERROR: AddressSanitizer: access-violation on unknown address 0x000000000000 (pc 0x7ff72f2a106b bp 0x00e097cff7d0 sp 0x00e097cff790 T0) 
# |             3: ==5096==The signal is caused by a WRITE memory access. 
# | check:25'0                                                           X error: no match found
# |             4: ==5096==HINT: address points to the zero page. 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:25'1             ?                                       possible intended match
# |             5: ==5096==*** WARNING: Failed to initialize DbgHelp! *** 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: ==5096==*** Most likely this means that the app is already *** 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             7: ==5096==*** using DbgHelp, possibly with incompatible flags. *** 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             8: ==5096==*** Due to technical reasons, symbolization might crash *** 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9: ==5096==*** or produce wrong results. *** 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

### AddressSanitizer-x86_64-windows-dynamic
<details>
<summary>AddressSanitizer-x86_64-windows-dynamic.TestCases/Windows/report_after_syminitialize.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 6
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  -O0 C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\Windows\report_after_syminitialize.cpp -o C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsDynamicConfig\TestCases\Windows\Output\report_after_syminitialize.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 -O0 'C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\Windows\report_after_syminitialize.cpp' -o 'C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsDynamicConfig\TestCases\Windows\Output\report_after_syminitialize.cpp.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 7
env ASAN_OPTIONS=external_symbolizer_path=non-existent\\\\asdf not  C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsDynamicConfig\TestCases\Windows\Output\report_after_syminitialize.cpp.tmp 2>&1 | FileCheck C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\Windows\report_after_syminitialize.cpp
# executed command: env 'ASAN_OPTIONS=external_symbolizer_path=non-existent\\\\asdf' not 'C:\_work\llvm-project\llvm-project\build\runtimes\runtimes-bins\compiler-rt\test\asan\X86_64WindowsDynamicConfig\TestCases\Windows\Output\report_after_syminitialize.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\Windows\report_after_syminitialize.cpp'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\Windows\report_after_syminitialize.cpp:25:12: error: CHECK: expected string not found in input
# |  // CHECK: Hint: address points to the zero page.
# |            ^
# | <stdin>:3:55: note: scanning from here
# | ==1812==The signal is caused by a WRITE memory access.
# |                                                       ^
# | <stdin>:4:9: note: possible intended match here
# | ==1812==HINT: address points to the zero page.
# |         ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\compiler-rt\test\asan\TestCases\Windows\report_after_syminitialize.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ================================================================= 
# |             2: ==1812==ERROR: AddressSanitizer: access-violation on unknown address 0x000000000000 (pc 0x7ff7dc44106b bp 0x00f5ac0ffb90 sp 0x00f5ac0ffb50 T0) 
# |             3: ==1812==The signal is caused by a WRITE memory access. 
# | check:25'0                                                           X error: no match found
# |             4: ==1812==HINT: address points to the zero page. 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:25'1             ?                                       possible intended match
# |             5: ==1812==*** WARNING: Failed to initialize DbgHelp! *** 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: ==1812==*** Most likely this means that the app is already *** 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             7: ==1812==*** using DbgHelp, possibly with incompatible flags. *** 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             8: ==1812==*** Due to technical reasons, symbolization might crash *** 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9: ==1812==*** or produce wrong results. *** 
# | check:25'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/195734


More information about the llvm-branch-commits mailing list