]> granicus.if.org Git - llvm/commitdiff
[DebugInfo] Fix tests missed by r362148
authorPaul Robinson <paul.robinson@sony.com>
Tue, 21 May 2019 12:48:46 +0000 (12:48 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Tue, 21 May 2019 12:48:46 +0000 (12:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361251 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/X86/asm-macro-line-number.s
test/MC/MachO/gen-dwarf-cpp.s
test/MC/MachO/gen-dwarf-macro-cpp.s

index 8b0843d06138b9815f01ca8d90672ddf526bbf3e..f7aa029fb021c777a1cbd7d618a7ff15992e7795 100644 (file)
 function:
  return 0
 
-# CHECK: .file 2 "reduced.S"
-# CHECK: .loc 2 8 0
+# CHECK: .file 1 "reduced.S"
+# CHECK: .loc 1 8 0
 # CHECK: movl %eax, 0
-# CHECK: .loc 2 8 0
+# CHECK: .loc 1 8 0
 # CHECK: retl
 
 # 42 "reduced.S"
 function2:
  return2 0
 
-# CHECK: .loc 2 43 0
+# CHECK: .loc 1 43 0
 # CHECK: movl %eax, 0
-# CHECK: .loc 2 43 0
+# CHECK: .loc 1 43 0
 # CHECK: retl
index 3cb26ce6081ff4184f3d3ff83b776c1f4377f337..f2364fe0c9210135af8f2228062233dd8c85e38e 100644 (file)
@@ -14,20 +14,16 @@ L1: leave
 // rdar://9275556
 
 // We check that the source name "t.s" is picked up
-// CHECK: include_directories[  1] = "{{.*(/|\\\\)}}test{{(/|\\\\)}}MC{{(/|\\\\)}}MachO"
-// CHECK: include_directories[  2] = "inc"
+// CHECK: include_directories[  1] = "inc"
 // CHECK: file_names[  1]:
-// CHECK-NEXT: name: "gen-dwarf-cpp.s"
-// CHECK-NEXT: dir_index: 1
-// CHECK: file_names[  2]:
-// CHECK-NEXT: name: "t.s"
+/ CHECK-NEXT: name: "t.s"
 // CHECK-NEXT: dir_index: 0
-// CHECK: file_names[  3]:
+// CHECK: file_names[  2]:
 // CHECK-NEXT: name: "g.s"
-// CHECK-NEXT: dir_index: 2
+// CHECK-NEXT: dir_index: 1
 // CHECK-NOT: file_names
 
 // We check that the source line number 100 is picked up before the "movl"
 // CHECK: Address            Line   Column File   ISA Discriminator Flags
 // CHECK: ------------------ ------ ------ ------ --- ------------- -------------
-// CHECK: 0x0000000000000000    102      0      2   0             0  is_stmt
+// CHECK: 0x0000000000000000    102      0      1   0             0  is_stmt
index de40bbdd65690e78bc59a2c05f38271bd3d409bd..bdae7685d4830657e8211ed86e127ff42f8be751 100644 (file)
@@ -12,8 +12,5 @@
 
 // We check that the source name "foo.S" is picked up
 // CHECK: file_names[  1]:
-// CHECK-NEXT: name: "gen-dwarf-macro-cpp.s"
-// CHECK-NEXT: dir_index: 1
-// CHECK: file_names[  2]:
 // CHECK-NEXT: name: "foo.S"
 // CHECK-NEXT: dir_index: 0