[PATCH] D49426: [DEBUG_INFO] fix .loc directives emitted for missing prologues

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 17 11:56:22 PDT 2018


I feel like maybe the solution here should be in the MC integrated
assembler - to not emit zero-length sequences in the line table, regardless
of whether it's in the prologue or anywhere else?

On Tue, Jul 17, 2018 at 10:56 AM Paul Robinson via Phabricator <
reviews at reviews.llvm.org> wrote:

> probinson added a comment.
>
> The repeated address is syntactically valid per the rules for the
> line-number program, but semantically undefined per the rationale in the
> non-normative description of the table that the line-number program is
> supposed to be encoding (i.e., a table indexed by instruction address).
>
>
> https://reviews.llvm.org/D49426
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180717/bdc46f68/attachment.html>


More information about the llvm-commits mailing list