http://llvm.org/bugs/show_bug.cgi?id=9970
Summary: A way to prevent the function-entry-time saving of
registers
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: ARM
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
I have a function labelled __attribute__((noreturn)), essentially my main(), on
an ARM Thumb 2 where I have 256 bytes of stack. It doesn't generate a return,
but it would be nice if there were an attribute to also disable the
function-entry-time callee-saving of registers for noreturn functions.
Right now I get
0: e92d 48f0 stmdb sp!, {r4, r5, r6, r7, fp, lr}
at the start, which is 24 bytes of stack down the drain, and when I put more
into the function it sometimes ends up 40 bytes.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs