[LLVMdev] Should I commit "IR: Move MDLocation into place" before or after 3.6 branch?

David Blaikie dblaikie at gmail.com
Wed Jan 14 11:12:58 PST 2015


On Wed, Jan 14, 2015 at 11:04 AM, Adrian Prantl <aprantl at apple.com> wrote:

> One small request: Omitting the column field from MDLocation if it is 0 is
> fine, because it won’t make it into the line table. Omitting the line if it
> is 0 is not, because it gives the wrong impression that the line is being
> ignored, which is not the case. Line 0 will be emitted in the line table
> and has special semantics (Line 0 in DWARF may be used to mark
> compiler-generated code that has no corresponding source line number).
>

I don't know - I think I might be OK with it being implicitly zero (I think
that's the column behavior - if the column is never set it's just zero in
the line table? (which is "no specific column") - that seems consistent
with zero line ("no actual line in the source code"))


>
> thanks,
> adrian
>
> > On Jan 13, 2015, at 9:46 PM, Duncan P. N. Exon Smith <
> dexonsmith at apple.com> wrote:
> >
> > I just finished the work for PR21433.  I think it's relatively low risk,
> > but it does change assembly output.
> >
> > Should I commit this before or after the (imminent) 3.6 branch?
> >
> > (I would have committed it tonight, but the buildbots are fairly red,
> > and I prefer to break out-of-tree code in the morning anyway.)
> >
> > <llvm.patch><clang.patch>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150114/c381e9f1/attachment.html>


More information about the llvm-dev mailing list