diff options
author | Reid Kleckner <rnk@google.com> | 2015-09-16 20:16:27 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2015-09-16 20:16:27 +0000 |
commit | 66ef931b4346fdd73f82f6d6c24391f2ef923943 (patch) | |
tree | 6f1512251318a029e66828b36f3d98f015c6c138 /test/CodeGen/X86/win-catchpad-csrs.ll | |
parent | ad53a65179bb143fc0f5c7846277869d6c68034f (diff) |
[WinEH] Pull Adjectives and CatchObj out of the catchpad arg list
Clang now passes the adjectives as an argument to catchpad.
Getting the CatchObj working is simply a matter of threading another
static alloca through codegen, first as an alloca, then as a frame
index, and finally as a frame offset.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/win-catchpad-csrs.ll')
-rw-r--r-- | test/CodeGen/X86/win-catchpad-csrs.ll | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/CodeGen/X86/win-catchpad-csrs.ll b/test/CodeGen/X86/win-catchpad-csrs.ll index c4cc945fe7d..20968cc4739 100644 --- a/test/CodeGen/X86/win-catchpad-csrs.ll +++ b/test/CodeGen/X86/win-catchpad-csrs.ll @@ -5,16 +5,12 @@ %eh.CatchableType = type { i32, i8*, i32, i32, i32, i32, i8* } %eh.CatchableTypeArray.1 = type { i32, [1 x %eh.CatchableType*] } %eh.ThrowInfo = type { i32, i8*, i8*, i8* } -%eh.CatchHandlerType = type { i32, i8* } $"\01??_R0H@8" = comdat any @"\01??_7type_info@@6B@" = external constant i8* @"\01??_R0H@8" = linkonce_odr global %rtti.TypeDescriptor2 { i8** @"\01??_7type_info@@6B@", i8* null, [3 x i8] c".H\00" }, comdat -@llvm.eh.handlertype.H.0 = private unnamed_addr constant %eh.CatchHandlerType { i32 0, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*) }, section "llvm.metadata" -@llvm.eh.handlertype.H.1 = private unnamed_addr constant %eh.CatchHandlerType { i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*) }, section "llvm.metadata" - declare i32 @getint() declare void @useints(...) declare void @f(i32 %p) @@ -31,7 +27,7 @@ entry: to label %try.cont unwind label %catch.dispatch catch.dispatch: ; preds = %entry - %0 = catchpad [%eh.CatchHandlerType* @llvm.eh.handlertype.H.0, i8* null] + %0 = catchpad [%rtti.TypeDescriptor2* @"\01??_R0H@8", i32 0, i8* null] to label %catch unwind label %catchendblock catch: |