[PATCH] D24180: Emit 'no line' information for interesting 'orphan' instructions

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 14:56:45 PDT 2016


probinson added a comment.

In https://reviews.llvm.org/D24180#545101, @rnk wrote:

> I don't know if you have the time or interest in doing this, but here's how I'd test the codeview side.


Even with spending most of a day on it, I completely fail at getting windbg to find 'main' and set a breakpoint.  Even for a test program built with Visual Studio, I can't figure out how to persuade windbg to find the symbols.

> Once we do that, then we can know what NeverStepIntoLineNumber really does. Right now, I have no idea what it does, and without some information about that, I'd rather not record anything for these kinds of instructions so that we can have more compact line tables.

I guess that means I should undo the CV parts of this patch.

We will need to figure out *something* for CV, because it is already the case that some places are explicitly setting a DebugLoc with line 0, and actually emitting line 0 into CV seems like the wrong result.


https://reviews.llvm.org/D24180





More information about the llvm-commits mailing list