aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJamie Schmeiser <schmeise@ca.ibm.com>2021-03-23 09:27:30 -0400
committerJamie Schmeiser <schmeise@ca.ibm.com>2021-03-23 09:29:17 -0400
commit9544a32287eccb42a4367cff9b5888855d6b8756 (patch)
tree9e7c951b1aa3a0fb61f5a0c2a065a146e7abe1a0 /flang/lib/Frontend/CompilerInvocation.cpp
parente19884cd7462ecba5eb569cdfb0efa4be58b07ff (diff)
downloadllvm-9544a32287eccb42a4367cff9b5888855d6b8756.zip
llvm-9544a32287eccb42a4367cff9b5888855d6b8756.tar.gz
llvm-9544a32287eccb42a4367cff9b5888855d6b8756.tar.bz2
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. 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 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions