llvm-project/lldb/bindings
Jonas Devlieghere ee2d9b8723
[lldb] Add Python bindings to print stack traces on crashes.
As noticed in D87637, when LLDB crashes, we only print stack traces if
LLDB is directly executed, not when used via Python bindings. Enabling
this by default may be undesirable (libraries shouldn't be messing with
signal handlers), so make this an explicit opt-in.

I "commandeered" this patch from Jordan Rupprecht who put this up for
review originally.

Differential revision: https://reviews.llvm.org/D91835
2022-04-07 11:21:02 -07:00
..
interface [lldb] Add Python bindings to print stack traces on crashes. 2022-04-07 11:21:02 -07:00
lua [lldb] (Semi-automatically) format .swig files 2021-12-16 13:58:37 +01:00
python [lldb/crashlog] Add CrashLogScriptedProcess & remove interactive mode 2022-02-16 11:44:07 -08:00
CMakeLists.txt [lldb] Move create_relative_symlink function up in CMake hierarchy 2021-11-23 21:59:49 +01:00
headers.swig [trace][intel-pt] Create basic SB API 2021-06-17 15:14:47 -07:00
interfaces.swig [trace][intel-pt] Create basic SB API 2021-06-17 15:14:47 -07:00
macros.swig [lldb] Remove nothreadallow from SWIG's __str__ wrappers to work around a Python>=3.7 crash 2020-09-28 10:10:34 +02:00