[llvm] Instruction: avoid crash in getStableDebugLoc when `this` isn't a DbgInfoIntrinsic (PR #66266)

Paul T Robinson via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 14:28:43 PDT 2023


pogo59 wrote:

In https://reviews.llvm.org/D159485 @jmorse asked for an example basic block that would cause this crash. If you provided that, it would probably form the core of a proper test for this patch.
It does seem odd to have a sequence of debug instructions with no terminator. It would be interesting to understand how that happened.

https://github.com/llvm/llvm-project/pull/66266


More information about the llvm-commits mailing list