[llvm-dev] CodeView and "line 0" ?
Adrian Prantl via llvm-dev
llvm-dev at lists.llvm.org
Wed Aug 17 12:51:27 PDT 2016
Note that clang is also assigning line 0 to code that doesn't have a corresponding source location. So CodeView needs to deal with this already, though I don't know how it currently handles this.
-- adrian
> On Aug 17, 2016, at 11:43 AM, Robinson, Paul via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> I've been playing with Fred Riss's "line 0" patch for DWARF
> (https://reviews.llvm.org/D16569) but in adapting it for current trunk,
> I find the DwarfDebug stuff has been refactored to allow either DWARF
> or CodeView. That's all good, but the question is whether the "line 0"
> patch should be DWARF-specific or common. The DWARF spec explicitly
> states that code not associated with any particular source location
> should be associated with line number 0. I don't know what CodeView
> (or debuggers that consume CodeView) would think of seeing "line 0" show
> up in the debug info.
>
> Does anybody know?
> Thanks,
> --paulr
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
More information about the llvm-dev
mailing list