DI: Reverse direction of subprogram -> function edge.
[oota-llvm.git] / test / DebugInfo / Mips / prologue_end.ll
index 0bac36ec8ba66f819a5ce3b212b5fe277de94d9f..d93836d8498383c3bff8c65b7171876cdad04081 100644 (file)
@@ -12,7 +12,7 @@
 
 @.str = private unnamed_addr constant [15 x i8] c"Hello, World!\0A\00", align 1
 
-define void @hello_world() #0 {
+define void @hello_world() #0 !dbg !4 {
 entry:
 ; STATIC:      addiu   $sp, $sp, -{{[0-9]+}}
 ; STATIC:      sw      $ra, {{[0-9]+}}($sp)
@@ -60,7 +60,7 @@ attributes #0 = { nounwind }
 !1 = !DIFile(filename: "test.c", directory: "/tmp")
 !2 = !{}
 !3 = !{!4}
-!4 = distinct !DISubprogram(name: "hello_world", scope: !1, file: !1, line: 1, type: !5, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagPrototyped, isOptimized: false, function: void ()* @hello_world, variables: !2)
+!4 = distinct !DISubprogram(name: "hello_world", scope: !1, file: !1, line: 1, type: !5, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagPrototyped, isOptimized: false, variables: !2)
 !5 = !DISubroutineType(types: !6)
 !6 = !{null}
 !7 = !{i32 2, !"Dwarf Version", i32 4}