mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-26 18:20:39 +00:00
New EH representation for MSVC compatibility
Summary: This introduces new instructions neccessary to implement MSVC-compatible exception handling support. Most of the middle-end and none of the back-end haven't been audited or updated to take them into account. Reviewers: rnk, JosephTremoulet, reames, nlewycky, rjmccall Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11041 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241888 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -248,7 +248,13 @@ typedef enum {
|
||||
|
||||
/* Exception Handling Operators */
|
||||
LLVMResume = 58,
|
||||
LLVMLandingPad = 59
|
||||
LLVMLandingPad = 59,
|
||||
LLVMCleanupRet = 61,
|
||||
LLVMCatchRet = 62,
|
||||
LLVMCatchBlock = 63,
|
||||
LLVMTerminateBlock = 64,
|
||||
LLVMCleanupBlock = 65,
|
||||
LLVMCatchEndBlock = 66
|
||||
|
||||
} LLVMOpcode;
|
||||
|
||||
@@ -1203,6 +1209,7 @@ LLVMTypeRef LLVMX86MMXType(void);
|
||||
macro(InsertElementInst) \
|
||||
macro(InsertValueInst) \
|
||||
macro(LandingPadInst) \
|
||||
macro(CleanupBlockInst) \
|
||||
macro(PHINode) \
|
||||
macro(SelectInst) \
|
||||
macro(ShuffleVectorInst) \
|
||||
@@ -1215,6 +1222,11 @@ LLVMTypeRef LLVMX86MMXType(void);
|
||||
macro(SwitchInst) \
|
||||
macro(UnreachableInst) \
|
||||
macro(ResumeInst) \
|
||||
macro(CleanupReturnInst) \
|
||||
macro(CatchReturnInst) \
|
||||
macro(CatchBlockInst) \
|
||||
macro(TerminateBlockInst) \
|
||||
macro(CatchEndBlockInst) \
|
||||
macro(UnaryInstruction) \
|
||||
macro(AllocaInst) \
|
||||
macro(CastInst) \
|
||||
|
||||
Reference in New Issue
Block a user