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

Keith Walker kwalker at arm.com
Thu Jan 30 02:31:50 PST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140130/9fb1c53f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ARMDwarfStackFrame.patch
Type: application/octet-stream
Size: 43636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140130/9fb1c53f/attachment.obj>


More information about the llvm-commits mailing list