[PATCH] D41762: [DWARF] Incorrect prologue end line record.

Carlos Alberto Enciso via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 07:35:23 PST 2018


CarlosAlbertoEnciso added a comment.

In https://reviews.llvm.org/D41762#1007447, @thegameg wrote:

> The difference here is the `push %rax`.
>
> > clang -O1 -S -g -o - foo.c
>
> In this case, the push (the prologue) is in `bb.1`, after the cmp.
>
> > clang -O1 -S -g -o - foo.c -mllvm -enable-shrink-wrap=false
>
> In this case, the push (the prologue) is in `bb.0`, before the cmp.


Hi,

I think the following links describe your findings.

https://reviews.llvm.org/D41762#990580
https://reviews.llvm.org/D41762#990589
https://reviews.llvm.org/D41762#990611

The assembler lines change, but the debug line records remain the same.

Thanks,
Carlos


https://reviews.llvm.org/D41762





More information about the llvm-commits mailing list