aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbpexpect.py
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2023-05-22 16:00:18 -0700
committerArthur Eubanks <aeubanks@google.com>2023-05-25 09:18:01 -0700
commiteb9ba243722454c186134fc83449ce69906603ae (patch)
tree6e481632cc6b61618f97dab1c6b6597dc54fa036 /lldb/packages/Python/lldbsuite/test/lldbpexpect.py
parent6f026ff029853431ee535e6a361edd059da3ab27 (diff)
downloadllvm-eb9ba243722454c186134fc83449ce69906603ae.zip
llvm-eb9ba243722454c186134fc83449ce69906603ae.tar.gz
llvm-eb9ba243722454c186134fc83449ce69906603ae.tar.bz2
[StandardInstrumentations] Add option to dump IR to a file on crash
We already have -print-on-crash which dumps the IR to stderr on a crash, but it's more useful to dump to a file. Introduce -print-on-crash-path to dump the IR to a file. Making -print-on-crash a string option is confusing if you only pass -print-on-crash and it swallows up the next command line arg, which is why this is a new option. Perhaps we could retire the dump to stderr version if people don't use it, but not sure how much people find that useful. Reviewed By: jamieschmeiser Differential Revision: https://reviews.llvm.org/D151170
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbpexpect.py')
0 files changed, 0 insertions, 0 deletions