When loading old bitcode where the debug info would need upgrading, but
I am asking to strip debug info, it would give warnings about bad debug
info anyway. This commit stops it doing that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
I think agree with the idea of the patch. Can you please check that (1) there is an existing test that ensures warning is printed when not explicitly stripping debug info and (2) add a test for this case?
Comment Actions
The debug info "upgrade" mechanism is unintuitive that I'm worried that this could subtly break intended behavior if it isn't tested.