[Lldb-commits] [lldb] [LLDB] Enable SBTypeSynthetic manipulation for SBValue instances (PR #209056)

via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 16 18:02:35 PDT 2026


github-actions[bot] wrote:

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

* 34086 tests passed
* 506 tests skipped
* 1 test failed

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

### lldb-api
<details>
<summary>lldb-api.python_api/sbvalue_set_type_synthetic/TestSBValueSetTypeSynthetic.py</summary>

```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --triple x86_64-unknown-linux-gnu --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --lldb-python-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/local/lib/python3.12/dist-packages --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic -p TestSBValueSetTypeSynthetic.py
--
Exit Code: 1

Command Output (stdout):
--
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc

--
Command Output (stderr):
--
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test (TestSBValueSetTypeSynthetic.TestCase.test)
Log Files:
 - /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/python_api/sbvalue_set_type_synthetic/TestSBValueSetTypeSynthetic/Error_test.log
======================================================================
ERROR: test (TestSBValueSetTypeSynthetic.TestCase.test)
----------------------------------------------------------------------
Error when building test subject.

Build Command:
/usr/bin/gmake VPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic -C /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/python_api/sbvalue_set_type_synthetic/TestSBValueSetTypeSynthetic -I /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic -I /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic/Makefile all TRIPLE=x86_64-unknown-linux-gnu CC=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang CC_TYPE=clang CXX=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ LLVM_AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar OBJCOPY=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-objcopy STRIP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-strip ARCHIVER=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar DWP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-dwp CLANG_MODULE_CACHE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 LIBCPP_LIBRARY_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu LIBCPP_INCLUDE_TARGET_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 LLDB_OBJ_ROOT=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb OS=Linux HOST_OS=Linux

Build Command Output:
gmake: Entering directory '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/python_api/sbvalue_set_type_synthetic/TestSBValueSetTypeSynthetic'
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++  -mllvm -x86-asm-syntax=att -std=c++11 -g -O0  -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target x86_64-unknown-linux-gnu -D_DEFAULT_SOURCE -mllvm -x86-asm-syntax=att   -nostdlib++ -nostdinc++ -cxx-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 -cxx-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1  --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic/main.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic/main.cpp:58:33: error: use of undeclared identifier 'malloc'
   58 |     into->foos.data = (Handle*) malloc(sizeof(Handle) * g_foos.size());
      |                                 ^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic/main.cpp:64:33: error: use of undeclared identifier 'malloc'
   64 |     into->bars.data = (Handle*) malloc(sizeof(Handle) * g_bars.size());
      |                                 ^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic/main.cpp:70:5: error: use of undeclared identifier 'free'
   70 |     free(info->foos.data);
      |     ^~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic/main.cpp:71:5: error: use of undeclared identifier 'free'
   71 |     free(info->bars.data);
      |     ^~~~
4 errors generated.
gmake: *** [Makefile.rules:668: main.o] Error 1
gmake: Leaving directory '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/python_api/sbvalue_set_type_synthetic/TestSBValueSetTypeSynthetic'

Test Directory:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic
----------------------------------------------------------------------
Ran 1 test in 0.483s

FAILED (errors=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/209056


More information about the lldb-commits mailing list