[PATCH] Save the link register for uwtable.
Renato Golin
renato.golin at linaro.org
Sat Feb 22 08:26:48 PST 2014
IIRC, ARM doesn't save the link register value on the stack, because it's already on the unwind tables. I also believe the patch is correct, but I think Keith should have a look at it first.
cheers,
-renato
================
Comment at: lib/CodeGen/VirtRegMap.cpp:300
@@ -293,1 +299,3 @@
+ // the definitions set by this instruction.
+ if (!HasUWTable && IsExitBB && MI->isCall())
for (MachineInstr::mop_iterator MOI = MI->operands_begin(),
----------------
Please, add brackets here as the indentation is confusing.
http://llvm-reviews.chandlerc.com/D2863
More information about the llvm-commits
mailing list