[LLVMbugs] [Bug 11468] Clang incorrectly handles exceptions in presence of stack aligned variables
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Fri Dec  2 22:57:32 PST 2011
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=11468
Bill Wendling <wendling at apple.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID
--- Comment #5 from Bill Wendling <wendling at apple.com> 2011-12-03 00:57:32 CST ---
>From the EH ABI:
"The unwind runtime will likely have modified the stack (e.g. popped frames
from it) or register context, or landing pad code may have corrupted them. As a
result, the the caller of _Unwind_RaiseException can make no assumptions about
the state of its stack or registers."
So basically we cannot rely upon any register values being valid except for
those we know are restored via the unwinder. Sorry about that.
-- 
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