[PATCH] D45556: [DebugInfo] Generate DWARF debug information for labels.

Son Tuan Vu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 4 06:21:46 PDT 2018


tyb0807 added a comment.

In https://reviews.llvm.org/D45556#1117242, @HsiangKai wrote:

> In https://reviews.llvm.org/D45556#1114350, @tyb0807 wrote:
>
> > Thank you for the patch.
> >
> > It seems to me that with `requireLabelBeforeInsn`, the label will later be emitted as a temporary symbol with a unique but unspecified name (in `DebugHandleBase::beginInstruction()`). Is it correct?
>
>
> Yes, I generate a temporary label before the label intrinsic. In this way, I could get the address of the label afterward.


Yes, I mean that the label will later be named differently in the asm file than in the source? I don't know if this is something we should care about though, I'm just speaking from an user point of view


Repository:
  rL LLVM

https://reviews.llvm.org/D45556





More information about the llvm-commits mailing list