[all-commits] [llvm/llvm-project] ee2d9b: [lldb] Add Python bindings to print stack traces o...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Thu Apr 7 11:21:15 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ee2d9b8723561fb6a81b9c2c4fd7a93300c6154f
https://github.com/llvm/llvm-project/commit/ee2d9b8723561fb6a81b9c2c4fd7a93300c6154f
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2022-04-07 (Thu, 07 Apr 2022)
Changed paths:
M lldb/bindings/interface/SBDebugger.i
M lldb/include/lldb/API/SBDebugger.h
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/source/API/SBDebugger.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list