Skip to content

Conversation

@jakeegan
Copy link
Member

@jakeegan jakeegan commented Apr 24, 2025

Issue: #138916

@github-actions
Copy link

github-actions bot commented Apr 24, 2025

✅ With the latest revision this PR passed the Python code formatter.

@github-actions
Copy link

github-actions bot commented Apr 24, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@jakeegan jakeegan changed the title Enable build and testing of asan on AIX [asan] Enable build and testing of asan on AIX Apr 24, 2025
@jakeegan jakeegan changed the title [asan] Enable build and testing of asan on AIX [asan][sanitizer_common] Enable build and testing of asan+sanitizer_common on AIX Jun 17, 2025
@github-actions
Copy link

github-actions bot commented Dec 2, 2025

🐧 Linux x64 Test Results

  • 6005 tests passed
  • 1320 tests skipped
  • 2 tests failed

Failed Tests

(click on a test name to see its output)

AddressSanitizer-x86_64-linux

AddressSanitizer-x86_64-linux.TestCases/large_func_test.cpp
Exit Code: 1

Command Output (stderr):
--
/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  -O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/large_func_test.cpp.tmp && not  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/large_func_test.cpp.tmp 2>&1 | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp --check-prefix=CHECK-Linux --check-prefix=CHECK # 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 -O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/large_func_test.cpp.tmp
+ not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/large_func_test.cpp.tmp
+ FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp --check-prefix=CHECK-Linux --check-prefix=CHECK
/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp:64:17: error: CHECK-NEXT: expected string not found in input
 // CHECK-NEXT: {{ #1 0x.* in \.main? .*large_func_test.cpp:}}[[@LINE-13]]
                ^
<stdin>:12:35: note: scanning from here
 #0 0x5722c9e2c95d in operator new[](unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:111:37
                                  ^
<stdin>:12:35: note: with "@LINE-13" equal to "51"
 #0 0x5722c9e2c95d in operator new[](unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:111:37
                                  ^
<stdin>:13:95: note: possible intended match here
 #1 0x5722c9e2dbef in main /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp:51:12
                                                                                              ^

Input file: <stdin>
Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           .
           .
           .
           7:  #3 0x7a898cbd628a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 274eec488d230825a136fa9c4d85370fed7a0a5e) 
           8:  #4 0x5722c9d44364 in _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/large_func_test.cpp.tmp+0x2d364) 
           9:  
          10: 0x77c98c0e01dc is located 12 bytes after 400-byte region [0x77c98c0e0040,0x77c98c0e01d0) 
          11: allocated by thread T0 here: 
          12:  #0 0x5722c9e2c95d in operator new[](unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:111:37 
next:64'0                                       X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:64'1                                                                                                                                                                   with "@LINE-13" equal to "51"
          13:  #1 0x5722c9e2dbef in main /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp:51:12 
next:64'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:64'2                                                                                                   ?                                                possible intended match
          14:  #2 0x7a898cbd61c9 (/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) (BuildId: 274eec488d230825a136fa9c4d85370fed7a0a5e) 
next:64'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          15:  #3 0x7a898cbd628a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 274eec488d230825a136fa9c4d85370fed7a0a5e) 
next:64'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          16:  #4 0x5722c9d44364 in _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/large_func_test.cpp.tmp+0x2d364) 
next:64'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          17:  
next:64'0     ~
          18: SUMMARY: AddressSanitizer: heap-buffer-overflow /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp:28:16 in LargeFunction(int*, int) 
next:64'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

--

AddressSanitizer-x86_64-linux-dynamic

AddressSanitizer-x86_64-linux-dynamic.TestCases/large_func_test.cpp
Exit Code: 1

Command Output (stderr):
--
/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 -O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxDynamicConfig/TestCases/Output/large_func_test.cpp.tmp && not  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxDynamicConfig/TestCases/Output/large_func_test.cpp.tmp 2>&1 | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp --check-prefix=CHECK-Linux --check-prefix=CHECK # 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 -O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxDynamicConfig/TestCases/Output/large_func_test.cpp.tmp
+ not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxDynamicConfig/TestCases/Output/large_func_test.cpp.tmp
+ FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp --check-prefix=CHECK-Linux --check-prefix=CHECK
/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp:64:17: error: CHECK-NEXT: expected string not found in input
 // CHECK-NEXT: {{ #1 0x.* in \.main? .*large_func_test.cpp:}}[[@LINE-13]]
                ^
<stdin>:12:35: note: scanning from here
 #0 0x78ffd3b534ad in operator new[](unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:111:37
                                  ^
<stdin>:12:35: note: with "@LINE-13" equal to "51"
 #0 0x78ffd3b534ad in operator new[](unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:111:37
                                  ^
<stdin>:13:95: note: possible intended match here
 #1 0x5651e931758f in main /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp:51:12
                                                                                              ^

Input file: <stdin>
Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           .
           .
           .
           7:  #3 0x78ffd347728a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 274eec488d230825a136fa9c4d85370fed7a0a5e) 
           8:  #4 0x5651e9316154 in _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxDynamicConfig/TestCases/Output/large_func_test.cpp.tmp+0x1154) 
           9:  
          10: 0x763fd26e01dc is located 12 bytes after 400-byte region [0x763fd26e0040,0x763fd26e01d0) 
          11: allocated by thread T0 here: 
          12:  #0 0x78ffd3b534ad in operator new[](unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:111:37 
next:64'0                                       X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
next:64'1                                                                                                                                                                   with "@LINE-13" equal to "51"
          13:  #1 0x5651e931758f in main /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp:51:12 
next:64'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:64'2                                                                                                   ?                                                possible intended match
          14:  #2 0x78ffd34771c9 (/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) (BuildId: 274eec488d230825a136fa9c4d85370fed7a0a5e) 
next:64'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          15:  #3 0x78ffd347728a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 274eec488d230825a136fa9c4d85370fed7a0a5e) 
next:64'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          16:  #4 0x5651e9316154 in _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxDynamicConfig/TestCases/Output/large_func_test.cpp.tmp+0x1154) 
next:64'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          17:  
next:64'0     ~
          18: SUMMARY: AddressSanitizer: heap-buffer-overflow /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/test/asan/TestCases/large_func_test.cpp:28:16 in LargeFunction(int*, int) 
next:64'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           .
           .
           .
>>>>>>

--

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant