[PATCH] D13511: [mips] Use correct frame register for DWARF info when dynamically realigning the stack.

Dean De Leo via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 13 05:06:21 PDT 2015


dean added a comment.

Hi, I actually confirm the patch solves the issue. Apologies for my previous wrong comment, the failure was due to my test. Though a different question, in the dwarf info the matches between the line numbers in the sources and the addresses in the assembly are not much contiguous, with the statements in the source interspersed at different places in the assembly. In general, the assembly looks somewhat optimised. This makes a bit harder to debug the code. Is there something that can be mitigated to obtain a more direct and contiguous correspondence between the original source and the assembly?

Finally, just as curiosity, is there any particular reason you are creating the expression for all the locals as $sp + offset, instead of setting the frame base to the $sp?

Thanks,
Dean


http://reviews.llvm.org/D13511





More information about the llvm-commits mailing list