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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to