[compiler-rt] [compiler-rt][sanitizer-common] adding C23 memset_explicit interception. (PR #154428)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 6 14:15:30 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test` while building `compiler-rt` at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/12716

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'AddressSanitizer-powerpc64le-linux-dynamic :: TestCases/Linux/interception_malloc_test.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/./bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only  -m64 -fno-function-sections  -shared-libasan -O0 /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/asan/TestCases/Linux/interception_malloc_test.cpp -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/runtimes/runtimes-bins/compiler-rt/test/asan/POWERPC64LELinuxDynamicConfig/TestCases/Linux/Output/interception_malloc_test.cpp.tmp && not  /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/runtimes/runtimes-bins/compiler-rt/test/asan/POWERPC64LELinuxDynamicConfig/TestCases/Linux/Output/interception_malloc_test.cpp.tmp 2>&1 | FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/asan/TestCases/Linux/interception_malloc_test.cpp # RUN: at line 3
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -fno-function-sections -shared-libasan -O0 /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/asan/TestCases/Linux/interception_malloc_test.cpp -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/runtimes/runtimes-bins/compiler-rt/test/asan/POWERPC64LELinuxDynamicConfig/TestCases/Linux/Output/interception_malloc_test.cpp.tmp
+ not /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/runtimes/runtimes-bins/compiler-rt/test/asan/POWERPC64LELinuxDynamicConfig/TestCases/Linux/Output/interception_malloc_test.cpp.tmp
+ FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/asan/TestCases/Linux/interception_malloc_test.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/asan/TestCases/Linux/interception_malloc_test.cpp:21:12: error: CHECK: expected string not found in input
 // CHECK: malloc call
           ^
<stdin>:1:1: note: scanning from here
error: Segmentation fault (core dumped)
^
<stdin>:1:14: note: possible intended match here
error: Segmentation fault (core dumped)
             ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/asan/TestCases/Linux/interception_malloc_test.cpp

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

Input was:
<<<<<<
            1: error: Segmentation fault (core dumped) 
check:21'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:21'1                  ?                           possible intended match
>>>>>>

--

********************

Step 11 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'AddressSanitizer-powerpc64le-linux :: TestCases/Linux/interception_malloc_test.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/./bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only  -m64 -fno-function-sections  -O0 /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/asan/TestCases/Linux/interception_malloc_test.cpp -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/runtimes/runtimes-bins/compiler-rt/test/asan/POWERPC64LELinuxConfig/TestCases/Linux/Output/interception_malloc_test.cpp.tmp && not  /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/runtimes/runtimes-bins/compiler-rt/test/asan/POWERPC64LELinuxConfig/TestCases/Linux/Output/interception_malloc_test.cpp.tmp 2>&1 | FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/asan/TestCases/Linux/interception_malloc_test.cpp # RUN: at line 3
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -fno-function-sections -O0 /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/asan/TestCases/Linux/interception_malloc_test.cpp -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/runtimes/runtimes-bins/compiler-rt/test/asan/POWERPC64LELinuxConfig/TestCases/Linux/Output/interception_malloc_test.cpp.tmp
+ not /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/runtimes/runtimes-bins/compiler-rt/test/asan/POWERPC64LELinuxConfig/TestCases/Linux/Output/interception_malloc_test.cpp.tmp
+ FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/asan/TestCases/Linux/interception_malloc_test.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/asan/TestCases/Linux/interception_malloc_test.cpp:21:12: error: CHECK: expected string not found in input
 // CHECK: malloc call
           ^
<stdin>:1:1: note: scanning from here
error: Segmentation fault (core dumped)
^
<stdin>:1:14: note: possible intended match here
error: Segmentation fault (core dumped)
             ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/asan/TestCases/Linux/interception_malloc_test.cpp

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

Input was:
<<<<<<
            1: error: Segmentation fault (core dumped) 
check:21'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:21'1                  ?                           possible intended match
>>>>>>

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/154428


More information about the llvm-commits mailing list