[Lldb-commits] [lldb] [PrefixMap] Teach lldb to auto-load compilation-prefix-map.json (PR #187145)
Dmitry Vasilyev via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 18 11:57:00 PDT 2026
slydiman wrote:
The buildbot [lldb-remote-linux-win](https://lab.llvm.org/buildbot/#/builders/197/builds/14708) is broken. Please take a look.
Some assert raised:
```
******************** TEST 'lldb-api :: functionalities/compilation-prefix-map/TestCompilationPrefixMap.py' FAILED ********************
Script:
--
C:/Python312/python.exe C:/buildbot/as-builder-10/lldb-x-aarch64/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=C:/buildbot/as-builder-10/lldb-x-aarch64/build/./lib --env LLVM_INCLUDE_DIR=C:/buildbot/as-builder-10/lldb-x-aarch64/build/include --env LLVM_TOOLS_DIR=C:/buildbot/as-builder-10/lldb-x-aarch64/build/./bin --arch aarch64 --build-dir C:/buildbot/as-builder-10/lldb-x-aarch64/build/lldb-test-build.noindex --lldb-module-cache-dir C:/buildbot/as-builder-10/lldb-x-aarch64/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/buildbot/as-builder-10/lldb-x-aarch64/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/buildbot/as-builder-10/lldb-x-aarch64/build/./bin/lldb.exe --compiler C:/buildbot/as-builder-10/lldb-x-aarch64/build/./bin/clang.exe --dsymutil C:/buildbot/as-builder-10/lldb-x-aarch64/build/./bin/dsymutil.exe --make C:/ninja/make.exe --llvm-tools-dir C:/buildbot/as-builder-10/lldb-x-aarch64/build/./bin --lldb-obj-root C:/buildbot/as-builder-10/lldb-x-aarch64/build/tools/lldb --lldb-libs-dir C:/buildbot/as-builder-10/lldb-x-aarch64/build/./lib --cmake-build-type Release --platform-url connect://arm64-linux-03.lab.llvm.org:1234 --platform-working-dir /home/ubuntu/lldb-tests --sysroot c:/buildbot/fs/aarch64-linux-gnu --env ARCH_CFLAGS=-mcpu=cortex-a78 --platform-name remote-linux --skip-category=lldb-server C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\lldb\test\API\functionalities\compilation-prefix-map -p TestCompilationPrefixMap.py
--
Exit Code: 2147483651
Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project.git revision 9dd2e3792a9f7fb5eccf078b66c9e950a5d2fd9c)
clang revision 9dd2e3792a9f7fb5eccf078b66c9e950a5d2fd9c
llvm revision 9dd2e3792a9f7fb5eccf078b66c9e950a5d2fd9c
--
Command Output (stderr):
--
UNSUPPORTED: LLDB (C:\buildbot\as-builder-10\lldb-x-aarch64\build\bin\clang.exe-aarch64) :: test_compilation_prefix_map_dsym (TestCompilationPrefixMap.TestCompilationPrefixMap.test_compilation_prefix_map_dsym) (test case does not fall in any category of interest for this run)
Expected<T> must be checked before access or destruction.
Unchecked Expected<T> contained error:
[1:20, byte=20]: Control character in stringWindows fatal exception: code 0x80000003
Current thread 0x0000400c (most recent call first):
File "C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\__init__.py", line 14101 in BreakpointCreateBySourceRegex
File "C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\lldb\packages\Python\lldbsuite\test\lldbutil.py", line 1049 in run_to_source_breakpoint
File "C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\lldb\test\API\functionalities\compilation-prefix-map\TestCompilationPrefixMap.py", line 37 in test_compilation_prefix_map
File "C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 2012 in test_method
File "C:\Python312\Lib\unittest\case.py", line 589 in _callTestMethod
File "C:\Python312\Lib\unittest\case.py", line 634 in run
File "C:\Python312\Lib\unittest\case.py", line 690 in __call__
File "C:\Python312\Lib\unittest\suite.py", line 122 in run
File "C:\Python312\Lib\unittest\suite.py", line 84 in __call__
File "C:\Python312\Lib\unittest\suite.py", line 122 in run
File "C:\Python312\Lib\unittest\suite.py", line 84 in __call__
File "C:\Python312\Lib\unittest\runner.py", line 240 in run
File "C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\lldb\packages\Python\lldbsuite\test\dotest.py", line 1178 in run_suite
File "C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\lldb\test\API\dotest.py", line 8 in <module>
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
Exception Code: 0x80000003
#0 0x00007ffe2c5ef6a5 PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0xaef6a5)
#1 0x00007ffe4eb4bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
#2 0x00007ffe4eb4cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
#3 0x00007ffe2beddd54 PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x3ddd54)
#4 0x00007ffe2bf5d419 PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x45d419)
#5 0x00007ffe2bf5f49d PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x45f49d)
#6 0x00007ffe2c503d96 PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0xa03d96)
#7 0x00007ffe2c5056ff PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0xa056ff)
#8 0x00007ffe2c505a07 PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0xa05a07)
#9 0x00007ffe2c07d4e2 PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x57d4e2)
#10 0x00007ffe2bf5a53a PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x45a53a)
#11 0x00007ffe2bf718f2 PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x4718f2)
#12 0x00007ffe2bedb5da PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x3db5da)
#13 0x00007ffe2c08f64a PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x58f64a)
#14 0x00007ffe2c0931f0 PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x5931f0)
#15 0x00007ffe2bc93dc0 lldb::SBTarget::BreakpointCreateBySourceRegex(char const *, class lldb::SBFileSpecList const &, class lldb::SBFileSpecList const &, class lldb::SBStringList const &) (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x193dc0)
#16 0x00007ffe2bc93a21 lldb::SBTarget::BreakpointCreateBySourceRegex(char const *, class lldb::SBFileSpecList const &, class lldb::SBFileSpecList const &) (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x193a21)
#17 0x00007ffe2bc938e0 lldb::SBTarget::BreakpointCreateBySourceRegex(char const *, class lldb::SBFileSpec const &, char const *) (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x1938e0)
#18 0x00007ffe2bea10bf PyInit__lldb (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x3a10bf)
#19 0x00007ffe2bdcf1e8 lldb::SBWatchpointOptions::SetWatchpointTypeWrite(enum lldb::WatchpointWriteType) (C:\buildbot\as-builder-10\lldb-x-aarch64\build\Lib\site-packages\lldb\native\_lldb.cp312-win_amd64.pyd+0x2cf1e8)
#20 0x00007ffe3eb2deba (C:\Python312\python312.dll+0x7deba)
#21 0x00007ffe3eb54276 (C:\Python312\python312.dll+0xa4276)
#22 0x00007ffe3eaf36b6 (C:\Python312\python312.dll+0x436b6)
#23 0x00007ffe3eaedf5c (C:\Python312\python312.dll+0x3df5c)
#24 0x00007ffe3eae8e76 (C:\Python312\python312.dll+0x38e76)
#25 0x00007ffe3eb542e5 (C:\Python312\python312.dll+0xa42e5)
#26 0x00007ffe3eb5422f (C:\Python312\python312.dll+0xa422f)
#27 0x00007ffe3eaf36b6 (C:\Python312\python312.dll+0x436b6)
#28 0x00007ffe3eaedf5c (C:\Python312\python312.dll+0x3df5c)
#29 0x00007ffe3eace0a7 (C:\Python312\python312.dll+0x1e0a7)
#30 0x00007ffe3ec01b17 (C:\Python312\python312.dll+0x151b17)
#31 0x00007ffe3ec01a42 (C:\Python312\python312.dll+0x151a42)
#32 0x00007ffe3eaeef32 (C:\Python312\python312.dll+0x3ef32)
#33 0x00007ffe3eaee8e5 (C:\Python312\python312.dll+0x3e8e5)
#34 0x00007ffe3eaefd9b (C:\Python312\python312.dll+0x3fd9b)
#35 0x00007ffe3eaedf5c (C:\Python312\python312.dll+0x3df5c)
#36 0x00007ffe3eae8e76 (C:\Python312\python312.dll+0x38e76)
#37 0x00007ffe3eb542e5 (C:\Python312\python312.dll+0xa42e5)
#38 0x00007ffe3eb5422f (C:\Python312\python312.dll+0xa422f)
#39 0x00007ffe3eaf36b6 (C:\Python312\python312.dll+0x436b6)
#40 0x00007ffe3eaedf5c (C:\Python312\python312.dll+0x3df5c)
#41 0x00007ffe3eace0a7 (C:\Python312\python312.dll+0x1e0a7)
#42 0x00007ffe3ec01b17 (C:\Python312\python312.dll+0x151b17)
#43 0x00007ffe3ec01a42 (C:\Python312\python312.dll+0x151a42)
#44 0x00007ffe3eaeef32 (C:\Python312\python312.dll+0x3ef32)
#45 0x00007ffe3eaee8e5 (C:\Python312\python312.dll+0x3e8e5)
#46 0x00007ffe3eaefd9b (C:\Python312\python312.dll+0x3fd9b)
#47 0x00007ffe3eaedf5c (C:\Python312\python312.dll+0x3df5c)
#48 0x00007ffe3eae8e76 (C:\Python312\python312.dll+0x38e76)
#49 0x00007ffe3eb542e5 (C:\Python312\python312.dll+0xa42e5)
#50 0x00007ffe3eb5422f (C:\Python312\python312.dll+0xa422f)
#51 0x00007ffe3eaf36b6 (C:\Python312\python312.dll+0x436b6)
#52 0x00007ffe3eaedf5c (C:\Python312\python312.dll+0x3df5c)
#53 0x00007ffe3eace0a7 (C:\Python312\python312.dll+0x1e0a7)
#54 0x00007ffe3ec01b17 (C:\Python312\python312.dll+0x151b17)
#55 0x00007ffe3ec01a42 (C:\Python312\python312.dll+0x151a42)
#56 0x00007ffe3eaeef32 (C:\Python312\python312.dll+0x3ef32)
#57 0x00007ffe3eaee8e5 (C:\Python312\python312.dll+0x3e8e5)
#58 0x00007ffe3eaefd9b (C:\Python312\python312.dll+0x3fd9b)
#59 0x00007ffe3eb19ea8 (C:\Python312\python312.dll+0x69ea8)
#60 0x00007ffe3eb1a385 (C:\Python312\python312.dll+0x6a385)
#61 0x00007ffe3eb1be70 (C:\Python312\python312.dll+0x6be70)
#62 0x00007ffe3eb1bf34 (C:\Python312\python312.dll+0x6bf34)
#63 0x00007ffe3ebd82f4 (C:\Python312\python312.dll+0x1282f4)
#64 0x00007ffe3ebd74fe (C:\Python312\python312.dll+0x1274fe)
#65 0x00007ffe3ebd6871 (C:\Python312\python312.dll+0x126871)
#66 0x00007ffe3ebd66b6 (C:\Python312\python312.dll+0x1266b6)
#67 0x00007ffe3ebd6593 (C:\Python312\python312.dll+0x126593)
#68 0x00007ffe3eb0e587 (C:\Python312\python312.dll+0x5e587)
#69 0x00007ffe3eb0e339 (C:\Python312\python312.dll+0x5e339)
#70 0x00007ffe3eb0c0ed (C:\Python312\python312.dll+0x5c0ed)
#71 0x00007ff63bd11230 (C:\Python312\python.exe+0x1230)
#72 0x00007ffe4fac4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
#73 0x00007ffe5139edfb (C:\Windows\SYSTEM32\ntdll.dll+0x7edfb)
```
https://github.com/llvm/llvm-project/pull/187145
More information about the lldb-commits
mailing list