You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In NewPM pass managers, add a "pretty stack frame" that tells you
which pass crashed while running which function:
```
Stack dump:
0. Program arguments: build/bin/opt -S -passes=instcombine llvm/test/Transforms/InstCombine/vec_shuffle.ll
1. Running pass "ModuleToFunctionPassAdaptor" on module "llvm/test/Transforms/InstCombine/vec_shuffle.ll"
2. Running pass "InstCombinePass" on function "test16a"
```
While the crashing pass is usually evident from the stack trace,
knowing which function caused it is quite handy.
Similar functionality existed in the LegacyPM.
0 commit comments