[PATCH] D45556: [DebugInfo] Generate DWARF debug information for labels.
Hsiangkai Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 31 00:06:01 PDT 2018
HsiangKai added a comment.
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.
> Btw, can anyone tell me how to add inlined comments? Or I have to be in the reviewer list I guess?
Repository:
rL LLVM
https://reviews.llvm.org/D45556
More information about the llvm-commits
mailing list