projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the personality function from LandingPadInst to Function
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2010-08-04-MingWCrash.ll
diff --git
a/test/CodeGen/X86/2010-08-04-MingWCrash.ll
b/test/CodeGen/X86/2010-08-04-MingWCrash.ll
index 61f527b0470c4fa7b8d86074f77fdd6529b59f1f..e97615a417ad05f188f804d10b24a30100393e87 100644
(file)
--- a/
test/CodeGen/X86/2010-08-04-MingWCrash.ll
+++ b/
test/CodeGen/X86/2010-08-04-MingWCrash.ll
@@
-1,6
+1,6
@@
; RUN: llc < %s -mtriple=i386-pc-mingw32
; RUN: llc < %s -mtriple=i386-pc-mingw32
-define void @func() nounwind {
+define void @func() nounwind
personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
{
invoke.cont:
%call = tail call i8* @malloc()
%a = invoke i32 @bar()
invoke.cont:
%call = tail call i8* @malloc()
%a = invoke i32 @bar()
@@
-10,7
+10,7
@@
bb1:
ret void
lpad:
ret void
lpad:
- %exn.ptr = landingpad { i8*, i32 }
personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
+ %exn.ptr = landingpad { i8*, i32 }
catch i8* null
%exn = extractvalue { i8*, i32 } %exn.ptr, 0
%eh.selector = extractvalue { i8*, i32 } %exn.ptr, 1
catch i8* null
%exn = extractvalue { i8*, i32 } %exn.ptr, 0
%eh.selector = extractvalue { i8*, i32 } %exn.ptr, 1