[LLVMbugs] [Bug 13714] New: Support __leave in exception handling

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 28 10:18:21 PDT 2012


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

             Bug #: 13714
           Summary: Support __leave in exception handling
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++11
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: ripzonetriton at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


"The __leave keyword is valid within a try-finally statement block. The effect
of __leave is to jump to the end of the try-finally block. The termination
handler is immediately executed. Although a goto statement can be used to
accomplish the same result, a goto statement causes stack unwinding. The
__leave statement is more efficient because it does not involve stack
unwinding."

http://msdn.microsoft.com/en-us/library/9xtt5hxz(v=vs.110).aspx

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