[all-commits] [llvm/llvm-project] 1bf6f5: [lldb-vscode] Adding support for displaying backtr...
John Harrison via All-commits
all-commits at lists.llvm.org
Fri Jul 28 13:55:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1bf6f55911ca6427789093b1df8a63d7e72dac51
https://github.com/llvm/llvm-project/commit/1bf6f55911ca6427789093b1df8a63d7e72dac51
Author: John Harrison <harjohn at google.com>
Date: 2023-07-28 (Fri, 28 Jul 2023)
Changed paths:
M lldb/tools/lldb-vscode/JSONUtils.cpp
M lldb/tools/lldb-vscode/lldb-vscode.cpp
Log Message:
-----------
[lldb-vscode] Adding support for displaying backtraces.
On Apple platforms when debugging with libBacktraceRecording.dylib backtraces are stored as part of the thread stack. This change includes support for displaying the back traces when they are present in the stack trace.
To use this on macOS a binary needs to be run with the following environment variables configured:
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/usr/lib/libBacktraceRecording.dylib
{F28473587}
Reviewed By: wallace
Differential Revision: https://reviews.llvm.org/D156465
More information about the All-commits
mailing list