[PATCH] D90345: [DebugInfo] Fix ICE in DwarfCompileUnit::constructSubprogramScopeDIE
Scott Linder via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 1 11:00:11 PDT 2021
scott.linder added a comment.
I finally got around to updating the tests, and ran into the issue of supporting old bitcode which lacks a `type:` for `DISubprogram`s
The only way I can see of "upgrading" these bitcodes is to pick some arbitrary `DISubroutineType` to use in place of `null`, likely `!DISubroutineType(types: !{null})`. This isn't correct in any sense, but if we are going to require the `type:` field it seems like the best we can do.
Thoughts?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90345/new/
https://reviews.llvm.org/D90345
More information about the llvm-commits
mailing list