[PATCH] D45045: [DebugInfo] Generate debug information for labels.
Edd Barrett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 6 04:13:41 PDT 2018
vext01 added a comment.
Hi,
I've been experimenting some more with this patch.
It seems to me that if a label is optimised away, but you've requested it be preserved, then you get a DWARF label with a zero offset. Is that the expected behaviour? Should it be documented?
E.g.:
< 6><0x000000dc> DW_TAG_label
DW_AT_name __YK_BLK_2_19418_0
DW_AT_low_pc 0x00000000
Thanks!
Repository:
rL LLVM
https://reviews.llvm.org/D45045
More information about the cfe-commits
mailing list