Regression from D131400: cross-language LTO causes a crash in the
compiler on the NULL deref of Scope in isa call when Rust IR is
involved. Presumably, this might affect other languages too, and
even Rust itself without cross-language LTO when the Rust compiler
switched to LLVM 16.
Details
Details
- Reviewers
rnk akhuang bwyma ykhatav - Commits
- rGd3b0e745e8a3: [CodeView] Avoid NULL deref of Scope
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Code looks good, but can you add a globals-rust.ll file next to llvm/test/DebugInfo/COFF/global_visibility.ll with some representative debug info? Or limit it to globals-noscope.ll or something like that to hit this codepath.