[Lldb-commits] [lldb] [lldb][InstrumentationRuntime] Run sanitizer utility expressions as C (PR #172019)

via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 12 07:35:25 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 33223 tests passed
* 506 tests skipped
* 3 tests failed

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

### lldb-shell
<details>
<summary>lldb-shell.Expr/TestASanReportExprNoObjC.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestASanReportExprNoObjC.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestASanReportExprNoObjC.test.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestASanReportExprNoObjC.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestASanReportExprNoObjC.test.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=g++ --target=specify-a-target-or-use-a-_host-substitution --target=x86_64-unknown-linux-gnu -pthread -fmodules-cache-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-shell -g /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestASanReportExprNoObjC.test.tmp/main.cpp -fsanitize=address -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestASanReportExprNoObjC.test.tmp.out
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=g++ --target=specify-a-target-or-use-a-_host-substitution --target=x86_64-unknown-linux-gnu -pthread -fmodules-cache-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-shell -g /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestASanReportExprNoObjC.test.tmp/main.cpp -fsanitize=address -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestASanReportExprNoObjC.test.tmp.out
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fmodules-cache-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-shell' [-Wunused-command-line-argument]
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestASanReportExprNoObjC.test.tmp/main.cpp:5:10: warning: array index 10 is past the end of the array (that has type 'int[5]') [-Warray-bounds]
# |     5 |   return a[10];
# |       |          ^ ~~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestASanReportExprNoObjC.test.tmp/main.cpp:3:3: note: array 'a' declared here
# |     3 |   int a[5] = {0};
# |       |   ^
# | 1 warning generated.
# | /usr/bin/ld: cannot find /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.asan_static.a: No such file or directory
# | /usr/bin/ld: cannot find /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.asan.a: No such file or directory
# | /usr/bin/ld: cannot find /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.asan_cxx.a: No such file or directory
# | clang: error: linker command failed with exit code 1 (use -v to see invocation)
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>lldb-shell.Expr/TestTSanReportExprNoObjC.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestTSanReportExprNoObjC.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestTSanReportExprNoObjC.test.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestTSanReportExprNoObjC.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestTSanReportExprNoObjC.test.tmp
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=g++ --target=specify-a-target-or-use-a-_host-substitution --target=x86_64-unknown-linux-gnu -pthread -fmodules-cache-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-shell -std=c++11 -g /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestTSanReportExprNoObjC.test.tmp/main.cpp -fsanitize=thread -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestTSanReportExprNoObjC.test.tmp.out
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=g++ --target=specify-a-target-or-use-a-_host-substitution --target=x86_64-unknown-linux-gnu -pthread -fmodules-cache-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-shell -std=c++11 -g /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestTSanReportExprNoObjC.test.tmp/main.cpp -fsanitize=thread -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestTSanReportExprNoObjC.test.tmp.out
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fmodules-cache-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-shell' [-Wunused-command-line-argument]
# | /usr/bin/ld: cannot find /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.tsan.a: No such file or directory
# | /usr/bin/ld: cannot find /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.tsan_cxx.a: No such file or directory
# | clang: error: linker command failed with exit code 1 (use -v to see invocation)
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>lldb-shell.Expr/TestUBSanReportExprNoObjC.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 6
split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestUBSanReportExprNoObjC.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestUBSanReportExprNoObjC.test.tmp
# executed command: split-file /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestUBSanReportExprNoObjC.test /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestUBSanReportExprNoObjC.test.tmp
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=g++ --target=specify-a-target-or-use-a-_host-substitution --target=x86_64-unknown-linux-gnu -pthread -fmodules-cache-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-shell -g /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestUBSanReportExprNoObjC.test.tmp/main.cpp -fsanitize=undefined -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestUBSanReportExprNoObjC.test.tmp.out
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=g++ --target=specify-a-target-or-use-a-_host-substitution --target=x86_64-unknown-linux-gnu -pthread -fmodules-cache-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-shell -g /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestUBSanReportExprNoObjC.test.tmp/main.cpp -fsanitize=undefined -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Expr/Output/TestUBSanReportExprNoObjC.test.tmp.out
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fmodules-cache-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-shell' [-Wunused-command-line-argument]
# | /usr/bin/ld: cannot find /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/lib/x86_64-unknown-linux-gnu/libclang_rt.ubsan_standalone.a: No such file or directory
# | clang: error: linker command failed with exit code 1 (use -v to see invocation)
# `-----------------------------
# 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/172019


More information about the lldb-commits mailing list