mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-01 16:26:29 +00:00
WinEH: Create an unwind help alloca for __CxxFrameHandler3 xdata tables
We don't have any logic to emit those tables yet, so the sdag lowering of this intrinsic is just a stub. We can see the intrinsic in the prepared IR, though. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233209 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -33,10 +33,13 @@ $"\01??_R0H@8" = comdat any
|
||||
|
||||
; CHECK-LABEL: define void @"\01?test@@YAXXZ"() #0 {
|
||||
; CHECK: entry:
|
||||
; CHECK: [[UNWIND_HELP:\%.+]] = alloca i64
|
||||
; CHECK: [[OBJ_PTR:\%.+]] = alloca %class.SomeClass
|
||||
; CHECK: [[TMP0:\%.+]] = alloca i32, align 4
|
||||
; CHECK: [[TMP1:\%.+]] = alloca i32, align 4
|
||||
; CHECK: call void (...)* @llvm.frameescape(i32* [[TMP1]], %class.SomeClass* [[OBJ_PTR]], i32* [[TMP0]])
|
||||
; CHECK: [[UNWIND_HELP_i8:\%.+]] = bitcast i64* [[UNWIND_HELP]] to i8*
|
||||
; CHECK: call void @llvm.eh.unwindhelp(i8* [[UNWIND_HELP_i8]])
|
||||
; CHECK: %call = invoke %class.SomeClass* @"\01??0SomeClass@@QEAA@XZ"(%class.SomeClass* %obj)
|
||||
; CHECK: to label %invoke.cont unwind label %[[LPAD_LABEL:lpad[0-9]+]]
|
||||
|
||||
|
Reference in New Issue
Block a user