aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorJamie Schmeiser <schmeise@ca.ibm.com>2021-10-07 15:02:19 -0400
committerJamie Schmeiser <schmeise@ca.ibm.com>2021-10-07 15:02:19 -0400
commit13d1592716a65444314f501109ec9ca344ef1f87 (patch)
tree0deaefe2da3a8ebc6a12a4f59a2bcc5f59f95acc /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent3b01cf9286e3f3462865cd467ad1edb1534f50d3 (diff)
downloadllvm-13d1592716a65444314f501109ec9ca344ef1f87.zip
llvm-13d1592716a65444314f501109ec9ca344ef1f87.tar.gz
llvm-13d1592716a65444314f501109ec9ca344ef1f87.tar.bz2
Reland A new option -print-on-crash that prints the IR as it was upon entering the last pass when there is a crash.
Summary: The IR is saved in its print form before each pass is started and a signal handler is registered. If the compilation crashes, the signal handler will print the saved IR to dbgs(). This option can be modified using -print-module-scope to get the IR for the complete module. Filtering options can be used to improve performance by limiting which passes (or functions) save the IR. Note that this option only works with the new pass manager. Author: Jamie Schmeiser <schmeise@ca.ibm.com> Reviewed By: aeubanks (Arthur Eubanks) yrouban (Yevgeny Rouban) Differential Revision: https://reviews.llvm.org/D86657
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions