[LLVMbugs] [Bug 2814] New: request for adding function note to force emission of stack frame pointer

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Sep 21 04:05:44 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2814

           Summary: request for adding function note to force emission of
                    stack frame pointer
           Product: new-bugs
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: tomas.l.olsen at gmail.com
                CC: llvmbugs at cs.uiuc.edu


I'd like to request that a new function note be added, which forces the output
of a stack frame in the "noted" function.

Currently there are only hacks to accomplish this, like calling
llvm.unwind.init somewhere. I need to guarantee that the stack frame is emitted
(ie. EBP on x86), for functions using inline asm, and currently the unwind.init
hack is working well, however, It'd be much nicer if we could just put a note.

I asked about this in the IRC channel a while ago but was told to basically
wait a bit as there was going to be a proposal for this stuff (function notes)
soon, since it's implemented now, now feels like a good time to suggest its
addition. Would be nice to get it into the 2.4 release.


-- 
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.



More information about the llvm-bugs mailing list