[PATCH] D45045: [DebugInfo] Generate debug information for labels.
Edd Barrett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 7 03:57:39 PDT 2018
vext01 added a comment.
Hi,
I'm generating these labels from the Rust compiler, which is far from a minimal example.
I'm actually conflicted about what should happen if code containing a label is removed, but the label is marked to be "retained". Maybe it does make sense for those to stay with some kind of a special offset or flag to indicate so. What do you think?
FWIW, my working assumption is that the `-unreachableblockelim` pass is removing code that contains labels, resulting in 0x0 offsets.
I'll try to get a simple example that gives a label with an 0x0 offset.
Repository:
rL LLVM
https://reviews.llvm.org/D45045
More information about the cfe-commits
mailing list