[PATCH] D116959: [DWARF] Try not to crash for codes with missing debug information

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 10 11:07:52 PST 2022


dblaikie added a comment.

Could you add a test for this?

& I'm confused by why this change would be required for an OpenMP use case, since we've supported the `nodebug` attribute in Clang for a while, which omits the debug info from a subprogram - which would've tickled the same codepath, I'd havze thought. So I guess there's something more interesting about this situation than "a function without debug info" - the test case would help illustrate this & may be worth discussing once it's provided.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116959/new/

https://reviews.llvm.org/D116959



More information about the llvm-commits mailing list