[PATCH] Generate DWARF stack frame information for ARM/Thumb Function Prologues

Eric Christopher echristo at gmail.com
Wed Mar 5 11:17:26 PST 2014


Hi Keith,

Don't see that I, or anyone else, replied to this. Did you ever figure
out the change in assembly order?

-eric

On Thu, Jan 30, 2014 at 2:31 AM, Keith Walker <kwalker at arm.com> wrote:
> This patch generates DWARF stack frame information for ARM/Thumb function
> prologues.
>
>
>
> Due to the complexities of how the ARM function prologue generated, much of
> the generation of the DWARF CFI instructions are delayed until the
> adjustments to the Stack Pointer and Frame Pointer have calculated.
>
>
>
> One issue that I am still investigating is why the insertion of the DWARF
> CFI instruction affected test CodeGen:ARM:interrupt-attr.ll  requiring a
> change in the order of the code (although the new order is still valid
> code)from
>
>   mv r4, sp
>
>   add r7, sp, #20
>
> to
>
>   add r7, sp, #20
>
>   mv r4, sp
>
> Keith
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



More information about the llvm-commits mailing list