Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[StandardInstrumentations] Ensure non-null module pointer when gettin…
…g display name for IR file (#110779) Fixes a crash when using `-filter-print-funcs` with `-ir-dump-directory`. A quick reproducer on trunk (also included as a test): ```ll ; opt -passes=no-op-function -print-after=no-op-function -filter-print-funcs=nope -ir-dump-directory=somewhere test.ll define void @test() { ret void } ``` [Compiler Explorer](https://godbolt.org/z/sPErz44h4)
- Loading branch information