diff options
| author | Florian Hahn <flo@fhahn.com> | 2022-03-09 13:01:09 +0000 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2022-03-09 13:01:09 +0000 |
| commit | 128745cc2681c284bc6d0150a319673a6d6e8424 (patch) | |
| tree | da581442d2cc0aa156000a7e90fc0b75c3a146e7 /lldb/test/API/python_api/debugger/TestDebuggerAPI.py | |
| parent | 338dfcd60f843082bb589b287d890dbd9394eb82 (diff) | |
[PassManager] Add pretty stack entries before P->run() call.
This patch adds PrettyStackEntries before running passes. The entries
include the pass name and the IR unit the pass runs on.
The information is used the print additional information when a pass
crashes, including the name and a reference to the IR unit on which it
crashed. This is similar to the behavior of the legacy pass manager.
The improved stack trace now includes:
Stack dump:
0. Program arguments: bin/opt -loop-vectorize -force-vector-width=4 crash.ll
1. Running pass 'ModuleToFunctionPassAdaptor' on module 'crash.ll'
2. Running pass 'LoopVectorizePass' on function '@a'
Reviewed By: aeubanks
Differential Revision: https://reviews.llvm.org/D120993
Diffstat (limited to 'lldb/test/API/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions
