DebugInfo: Remove 'inlinedAt:' field from MDLocalVariable
[oota-llvm.git] / test / Transforms / Inline / 2006-11-09-InlineCGUpdate.ll
index 279823a4b2811b59ca6cb98e01755c4779c81f71..fb5a4b512b9c65cba4a0a2fcdd413b51e490e92e 100644 (file)
@@ -2,7 +2,6 @@
 ; PR992
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
-deplibs = [ "stdc++", "c", "crtend" ]
        %struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct._IO_FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i32, [52 x i8] }
        %struct._IO_marker = type { %struct._IO_marker*, %struct._IO_FILE*, i32 }
        %"struct.__cxxabiv1::__array_type_info" = type { %"struct.std::type_info" }
@@ -155,7 +154,7 @@ endif.0:            ; preds = %entry
 define fastcc void @_ZSt20__throw_length_errorPKc() {
 entry:
        call fastcc void @_ZNSt12length_errorC1ERKSs( )
-       unwind
+       ret void
 }
 
 define fastcc void @_ZNSs16_S_construct_auxIPKcEEPcT_S3_RKSaIcE12__false_type() {
@@ -178,8 +177,10 @@ entry:
                        to label %invoke_cont.1 unwind label %invoke_catch.1
 
 invoke_catch.1:                ; preds = %entry
+        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+                 catch i8* null
        call fastcc void @_ZNSaIcED1Ev( )
-       unwind
+       resume { i8*, i32 } %exn
 
 invoke_cont.1:         ; preds = %entry
        call fastcc void @_ZNSaIcEC2ERKS_( )
@@ -306,7 +307,9 @@ entry:
                        to label %_ZNSt11logic_errorC2ERKSs.exit unwind label %invoke_catch.i
 
 invoke_catch.i:                ; preds = %entry
-       unwind
+        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+                 catch i8* null
+       resume { i8*, i32 } %exn
 
 _ZNSt11logic_errorC2ERKSs.exit:                ; preds = %entry
        ret void
@@ -336,3 +339,5 @@ define fastcc void @_ZNSt5ctypeIcEC1EPKtbj() {
 entry:
        ret void
 }
+
+declare i32 @__gxx_personality_v0(...)