[Openmp-commits] [PATCH] D116959: [DWARF] Try not to crash for codes with missing debug information
David Blaikie via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 19 11:18:42 PST 2022
dblaikie added a comment.
I did eventually figure out why the !dbg is important - `findPrologueEndLoc` returns a null DebugLoc if there are no !dbg attachments, so avoids the DISubprogram dereference that way. So, yeah, at least now I understand why this only happens in a non-debug-having function that has debug locations in it, only under NVPTX.
Thanks for your patience :)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116959/new/
https://reviews.llvm.org/D116959
More information about the Openmp-commits
mailing list