llvm-project/lldb/bindings/interface
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
..
SBAddress.i [lldb][docs] Resolve the remaining sphinx formatter warnings in the SB API docs 2021-01-18 10:47:19 +01:00
SBAttachInfo.i
SBBlock.i
SBBreakpoint.i [lldb] Use internal_dict name over dict in python examples 2021-02-10 15:11:00 -08:00
SBBreakpointLocation.i [lldb] Use internal_dict name over dict in python examples 2021-02-10 15:11:00 -08:00
SBBreakpointName.i
SBBroadcaster.i [lldb][docs] Resolve the remaining sphinx formatter warnings in the SB API docs 2021-01-18 10:47:19 +01:00
SBCommandInterpreter.i [lldb/API] Add a way to check if the CommandInterpreter is interactive 2022-02-16 11:44:07 -08:00
SBCommandInterpreterRunOptions.i [lldb/API] Add CommandInterpreter::{Get,Set}PrintErrors to SBAPI (NFC) 2021-03-05 19:33:33 +01:00
SBCommandReturnObject.i
SBCommunication.i
SBCompileUnit.i
SBData.i [lldb/API] Add SetDataWithOwnership method to SBData 2021-12-13 11:05:06 -08:00
SBDebugger.i [lldb] Add Python bindings to print stack traces on crashes. 2022-04-07 11:21:02 -07:00
SBDeclaration.i
SBEnvironment.i
SBError.i
SBEvent.i
SBExecutionContext.i
SBExpressionOptions.i
SBFile.i [lldb][docs] Use inline literals for code/paths instead of rendering it with the default role 2021-01-18 11:10:19 +01:00
SBFileSpec.i
SBFileSpecList.i
SBFrame.i [lldb][docs] Use inline literals for code/paths instead of rendering it with the default role 2021-01-18 11:10:19 +01:00
SBFunction.i
SBHostOS.i
SBInstruction.i
SBInstructionList.i
SBLanguageRuntime.i [lldb][docs] Add a doc page for enums and constants 2021-01-19 18:54:05 +01:00
SBLaunchInfo.i [lldb/Commands] Add command options for ScriptedProcess to ProcessLaunch 2021-03-23 18:24:47 +01:00
SBLineEntry.i
SBListener.i [lldb] Fix two documentation typos 2021-01-19 15:25:15 +01:00
SBMemoryRegionInfo.i [lldb/Plugins] Add memory region support in ScriptedProcess 2021-10-08 14:54:07 +02:00
SBMemoryRegionInfoList.i [lldb/Plugins] Add memory region support in ScriptedProcess 2021-10-08 14:54:07 +02:00
SBModule.i [lldb/API] Add ability to check if module is backed by a file on disk 2022-01-26 20:40:24 +01:00
SBModuleSpec.i
SBPlatform.i [lldb] Introduce SBPlatform::SetSDKRoot 2022-01-19 12:49:47 +01:00
SBProcess.i [lldb] Add AllocateMemory/DeallocateMemory to the SBProcess API 2021-07-16 00:45:22 +02:00
SBProcessInfo.i Revert "[LLDB/API] Expose args and env from SBProcessInfo." 2021-06-05 15:50:49 +07:00
SBQueue.i
SBQueueItem.i
SBReproducer.i
SBSection.i
SBSourceManager.i
SBStream.i
SBStringList.i
SBStructuredData.i [trace][intel-pt] Create basic SB API 2021-06-17 15:14:47 -07:00
SBSymbol.i
SBSymbolContext.i
SBSymbolContextList.i [NFC] fix a typo 2021-10-15 14:51:49 +08:00
SBTarget.i Don't report memory return values on MacOS_arm64 of SysV_arm64 ABI's. 2022-03-14 15:25:40 -07:00
SBThread.i [lldb] [gdb-remote] Support getting siginfo via API 2022-01-28 17:47:47 +01:00
SBThreadCollection.i
SBThreadPlan.i [lldb] [gdb-remote server] Introduce new stop reasons for fork and vfork 2021-04-24 11:08:33 +02:00
SBTrace.i [trace][intel-pt] Create basic SB API 2021-06-17 15:14:47 -07:00
SBType.i [lldb] Add SBType::IsAggregateType 2022-03-09 08:33:08 -08:00
SBTypeCategory.i
SBTypeEnumMember.i
SBTypeFilter.i
SBTypeFormat.i
SBTypeNameSpecifier.i
SBTypeSummary.i
SBTypeSynthetic.i
SBUnixSignals.i
SBValue.i [formatters] Add a formatter for libstdc++ optional 2021-11-22 15:36:46 -08:00
SBValueList.i
SBVariablesOptions.i
SBWatchpoint.i