mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-16 11:24:39 +00:00
Update the tests to the new EH scheme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138891 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -90,6 +90,8 @@ A:
|
||||
%c = call i64 @test4c(i64 %b)
|
||||
ret i64 %c
|
||||
B:
|
||||
%val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
|
||||
catch i8* null
|
||||
ret i64 0
|
||||
}
|
||||
; CHECK: define i64 @test4b()
|
||||
@@ -121,6 +123,8 @@ A:
|
||||
%c = call i64 @test5c({i64,i64} %a)
|
||||
ret i64 %c
|
||||
B:
|
||||
%val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
|
||||
catch i8* null
|
||||
ret i64 0
|
||||
}
|
||||
|
||||
@@ -204,3 +208,4 @@ entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
||||
|
Reference in New Issue
Block a user