DI: Reverse direction of subprogram -> function edge.
[oota-llvm.git] / test / CodeGen / MIR / X86 / unknown-metadata-node.mir
index ecd81011130e4d1d88f8a02d0be83668a229ea8b..958a30678be1da86cedd92123573ff450a27c0e4 100644 (file)
@@ -2,7 +2,7 @@
 
 --- |
 
-  define i32 @test(i32 %x) #0 {
+  define i32 @test(i32 %x) #0 !dbg !4 {
   entry:
     %x.addr = alloca i32, align 4
     store i32 %x, i32* %x.addr, align 4
@@ -24,7 +24,7 @@
   !1 = !DIFile(filename: "test.ll", directory: "")
   !2 = !{}
   !3 = !{!4}
-  !4 = distinct !DISubprogram(name: "test", scope: !5, file: !5, line: 4, type: !6, isLocal: false, isDefinition: true, scopeLine: 4, flags: DIFlagPrototyped, isOptimized: false, function: i32 (i32)* @test, variables: !2)
+  !4 = distinct !DISubprogram(name: "test", scope: !5, file: !5, line: 4, type: !6, isLocal: false, isDefinition: true, scopeLine: 4, flags: DIFlagPrototyped, isOptimized: false, variables: !2)
   !5 = !DIFile(filename: "test.c", directory: "")
   !6 = !DISubroutineType(types: !7)
   !7 = !{!8, !8}