Open chase opened 8 months ago
@vadimcn Is the source available for your LLDB fork? I'd like to fix this for you, if possible. It would help my team since it doesn't require additional setup on their part if the pre-built binaries for LLDB work out of the box.
It's in this branch. However, since you are having this problem with c++ code, I think it's likely that it exists in the mainline lldb-16 as well.
OS: Pop!_OS 22.04 LTS Linux VSCode version: 1.70.1 CodeLLDB version: 1.10.0 Compiler: Ubuntu clang version 14.0.0-1ubuntu1.1 Target: x86_64-pc-linux-gnu Thread model: posix Debuggee: C++, trivial example
Included version of LLDB segfaults when running a Python script that calls IsClassCode. This does not crash on LLDB 15.0.7 that I installed through my package manager.
Code under debug (test.cc):
Compiled with:
clang++ --std=c++20 test.cc -o simple-ex
Example script
Switching CodeLLDB to use my local lldb causes this to no longer crash:
Verbose log