summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/MachO
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/MachO')
-rw-r--r--llvm/test/MC/MachO/gen-dwarf-cpp.s14
-rw-r--r--llvm/test/MC/MachO/gen-dwarf-macro-cpp.s10
-rw-r--r--llvm/test/MC/MachO/gen-dwarf.s6
3 files changed, 18 insertions, 12 deletions
diff --git a/llvm/test/MC/MachO/gen-dwarf-cpp.s b/llvm/test/MC/MachO/gen-dwarf-cpp.s
index ad07bf6096a..3cb26ce6081 100644
--- a/llvm/test/MC/MachO/gen-dwarf-cpp.s
+++ b/llvm/test/MC/MachO/gen-dwarf-cpp.s
@@ -16,11 +16,15 @@ L1: leave
// We check that the source name "t.s" is picked up
// CHECK: include_directories[ 1] = "{{.*(/|\\\\)}}test{{(/|\\\\)}}MC{{(/|\\\\)}}MachO"
// CHECK: include_directories[ 2] = "inc"
-// CHECK: Dir Mod Time File Len File Name
-// CHECK: ---- ---------- ---------- ---------------------------
-// CHECK: file_names[ 1] 1 0x00000000 0x00000000 "gen-dwarf-cpp.s"
-// CHECK: file_names[ 2] 0 0x00000000 0x00000000 "t.s"
-// CHECK: file_names[ 3] 2 0x00000000 0x00000000 "g.s"
+// 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: dir_index: 0
+// CHECK: file_names[ 3]:
+// CHECK-NEXT: name: "g.s"
+// CHECK-NEXT: dir_index: 2
// CHECK-NOT: file_names
// We check that the source line number 100 is picked up before the "movl"
diff --git a/llvm/test/MC/MachO/gen-dwarf-macro-cpp.s b/llvm/test/MC/MachO/gen-dwarf-macro-cpp.s
index 9fc8571c90c..de40bbdd656 100644
--- a/llvm/test/MC/MachO/gen-dwarf-macro-cpp.s
+++ b/llvm/test/MC/MachO/gen-dwarf-macro-cpp.s
@@ -11,7 +11,9 @@
// rdar://12637628
// We check that the source name "foo.S" is picked up
-// CHECK: Dir Mod Time File Len File Name
-// CHECK: ---- ---------- ---------- ---------------------------
-// CHECK: file_names[ 1] 1 0x00000000 0x00000000 "gen-dwarf-macro-cpp.s"
-// CHECK: file_names[ 2] 0 0x00000000 0x00000000 "foo.S"
+// 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
diff --git a/llvm/test/MC/MachO/gen-dwarf.s b/llvm/test/MC/MachO/gen-dwarf.s
index f3985175227..f567f79979f 100644
--- a/llvm/test/MC/MachO/gen-dwarf.s
+++ b/llvm/test/MC/MachO/gen-dwarf.s
@@ -109,9 +109,9 @@ _x: .long 1
// CHECK: standard_opcode_lengths[DW_LNS_set_epilogue_begin] = 0
// CHECK: standard_opcode_lengths[DW_LNS_set_isa] = 1
// We don't check include_directories as it has a temp path
-// CHECK: Dir Mod Time File Len File Name
-// CHECK: ---- ---------- ---------- ---------------------------
-// CHECK: file_names[ 1] 1 0x00000000 0x00000000 "gen-dwarf.s"
+// CHECK: file_names[ 1]:
+// CHECK-NEXT: name: "gen-dwarf.s"
+// CHECK-NEXT: dir_index: 1
// CHECK: Address Line Column File ISA Discriminator Flags
// CHECK: ------------------ ------ ------ ------ --- ------------- -------------
OpenPOWER on IntegriCloud