Skip to content
  • Reid Kleckner's avatar
    a9d62535
    [WinEH] Create an llvm.x86.seh.exceptioninfo intrinsic · a9d62535
    Reid Kleckner authored
    This intrinsic is like framerecover plus a load. It recovers the EH
    registration stack allocation from the parent frame and loads the
    exception information field out of it, giving back a pointer to an
    EXCEPTION_POINTERS struct. It's designed for clang to use in SEH filter
    expressions instead of accessing the EXCEPTION_POINTERS parameter that
    is available on x64.
    
    This required a minor change to MC to allow defining a label variable to
    another absolute framerecover label variable.
    
    llvm-svn: 239567
    a9d62535
    [WinEH] Create an llvm.x86.seh.exceptioninfo intrinsic
    Reid Kleckner authored
    This intrinsic is like framerecover plus a load. It recovers the EH
    registration stack allocation from the parent frame and loads the
    exception information field out of it, giving back a pointer to an
    EXCEPTION_POINTERS struct. It's designed for clang to use in SEH filter
    expressions instead of accessing the EXCEPTION_POINTERS parameter that
    is available on x64.
    
    This required a minor change to MC to allow defining a label variable to
    another absolute framerecover label variable.
    
    llvm-svn: 239567
Loading