[PATCH] D137152: Fix crash when using embedded DWARF-5 debugging info

Jonas Hahnfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 24 04:47:52 PST 2022


Hahnfeld added a comment.

As far as I could tell with some testing, this crash happens if you pass in an empty string because then `getCanonicalMDString()` returns a `nullptr`. I think it would be cleaner to normalize this case to `None`: https://reviews.llvm.org/D138658


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

https://reviews.llvm.org/D137152



More information about the llvm-commits mailing list