summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/ARM')
-rw-r--r--llvm/test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s12
-rw-r--r--llvm/test/MC/ARM/dwarf-asm-multiple-sections.s13
-rw-r--r--llvm/test/MC/ARM/dwarf-asm-nonstandard-section.s12
-rw-r--r--llvm/test/MC/ARM/dwarf-asm-single-section.s12
4 files changed, 26 insertions, 23 deletions
diff --git a/llvm/test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s b/llvm/test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s
index e6a36fc8e85..cc1d85e9691 100644
--- a/llvm/test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s
+++ b/llvm/test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s
@@ -1,5 +1,5 @@
// RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -fdebug-compilation-dir=/tmp -dwarf-version 2 2>&1 | FileCheck -check-prefix MESSAGES %s
-// RUN: llvm-dwarfdump -v %t | FileCheck -check-prefix DWARF %s
+// RUN: llvm-dwarfdump -a %t | FileCheck -check-prefix DWARF %s
// RUN: llvm-objdump -r %t | FileCheck -check-prefix RELOC %s
.section .text, "ax"
@@ -24,13 +24,13 @@ b:
// DWARF: DW_AT_language DW_FORM_data2
// DWARF: .debug_info contents:
-// DWARF: 0x{{[0-9a-f]+}}: DW_TAG_compile_unit [1]
+// DWARF: DW_TAG_compile_unit
// DWARF-NOT: DW_TAG_
-// DWARF: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000000)
-// DWARF: DW_AT_high_pc [DW_FORM_addr] (0x0000000000000004)
+// DWARF: DW_AT_low_pc {{.*}}(0x0000000000000000)
+// DWARF: DW_AT_high_pc {{.*}}(0x0000000000000004)
-// DWARF: 0x{{[0-9a-f]+}}: DW_TAG_label [2] *
-// DWARF-NEXT: DW_AT_name [DW_FORM_string] ("a")
+// DWARF: DW_TAG_label
+// DWARF-NEXT: DW_AT_name {{.*}}("a")
// DWARF: .debug_aranges contents:
diff --git a/llvm/test/MC/ARM/dwarf-asm-multiple-sections.s b/llvm/test/MC/ARM/dwarf-asm-multiple-sections.s
index 4294c485364..1ae0bdf33b1 100644
--- a/llvm/test/MC/ARM/dwarf-asm-multiple-sections.s
+++ b/llvm/test/MC/ARM/dwarf-asm-multiple-sections.s
@@ -1,11 +1,14 @@
// RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -dwarf-version 5 -fdebug-compilation-dir=/tmp
// RUN: llvm-dwarfdump -v %t | FileCheck -check-prefix DWARF -check-prefix DWARF45 %s
+// RUN: llvm-dwarfdump --debug-line %t | FileCheck -check-prefix DWARF-DL %s
// RUN: llvm-objdump -r %t | FileCheck -check-prefix RELOC -check-prefix RELOC5 %s
// RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -fdebug-compilation-dir=/tmp
// RUN: llvm-dwarfdump -v %t | FileCheck -check-prefix DWARF -check-prefix DWARF45 %s
+// RUN: llvm-dwarfdump --debug-line %t | FileCheck -check-prefix DWARF-DL %s
// RUN: llvm-objdump -r %t | FileCheck -check-prefix RELOC -check-prefix RELOC4 %s
// RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -dwarf-version 3 -fdebug-compilation-dir=/tmp
// RUN: llvm-dwarfdump -v %t | FileCheck -check-prefix DWARF -check-prefix DWARF3 %s
+// RUN: llvm-dwarfdump --debug-line %t | FileCheck -check-prefix DWARF-DL %s
// RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -dwarf-version 2 2>&1 | FileCheck -check-prefix VERSION %s
// RUN: not llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -dwarf-version 1 2>&1 | FileCheck -check-prefix DWARF1 %s
// RUN: not llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -dwarf-version 6 2>&1 | FileCheck -check-prefix DWARF6 %s
@@ -48,11 +51,11 @@ b:
// DWARF-NEXT: [0x00000000 - 0x00000004)
-// DWARF: .debug_line contents:
-// DWARF: 0x0000000000000000 14 0 1 0 0 is_stmt
-// DWARF-NEXT: 0x0000000000000004 14 0 1 0 0 is_stmt end_sequence
-// DWARF-NEXT: 0x0000000000000000 18 0 1 0 0 is_stmt
-// DWARF-NEXT: 0x0000000000000004 18 0 1 0 0 is_stmt end_sequence
+// DWARF-DL: .debug_line contents:
+// DWARF-DL: 0x0000000000000000 17 0 1 0 0 is_stmt
+// DWARF-DL-NEXT: 0x0000000000000004 17 0 1 0 0 is_stmt end_sequence
+// DWARF-DL-NEXT: 0x0000000000000000 21 0 1 0 0 is_stmt
+// DWARF-DL-NEXT: 0x0000000000000004 21 0 1 0 0 is_stmt end_sequence
// DWARF: .debug_ranges contents:
diff --git a/llvm/test/MC/ARM/dwarf-asm-nonstandard-section.s b/llvm/test/MC/ARM/dwarf-asm-nonstandard-section.s
index 22a242e9103..e846fb7c7a4 100644
--- a/llvm/test/MC/ARM/dwarf-asm-nonstandard-section.s
+++ b/llvm/test/MC/ARM/dwarf-asm-nonstandard-section.s
@@ -1,5 +1,5 @@
// RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -fdebug-compilation-dir=/tmp
-// RUN: llvm-dwarfdump -v %t | FileCheck -check-prefix DWARF %s
+// RUN: llvm-dwarfdump -a %t | FileCheck -check-prefix DWARF %s
// RUN: llvm-objdump -r %t | FileCheck -check-prefix RELOC %s
.section foo, "ax"
@@ -18,13 +18,13 @@ b:
// DWARF: DW_AT_language DW_FORM_data2
// DWARF: .debug_info contents:
-// DWARF: 0x{{[0-9a-f]+}}: DW_TAG_compile_unit [1]
+// DWARF: DW_TAG_compile_unit
// DWARF-NOT: DW_TAG_
-// DWARF: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000000)
-// DWARF: DW_AT_high_pc [DW_FORM_addr] (0x0000000000000004)
+// DWARF: DW_AT_low_pc (0x0000000000000000)
+// DWARF: DW_AT_high_pc (0x0000000000000004)
-// DWARF: 0x{{[0-9a-f]+}}: DW_TAG_label [2] *
-// DWARF-NEXT: DW_AT_name [DW_FORM_string] ("b")
+// DWARF: DW_TAG_label
+// DWARF-NEXT: DW_AT_name ("b")
// DWARF: .debug_aranges contents:
diff --git a/llvm/test/MC/ARM/dwarf-asm-single-section.s b/llvm/test/MC/ARM/dwarf-asm-single-section.s
index d1211a6e48c..7bc0572f5ab 100644
--- a/llvm/test/MC/ARM/dwarf-asm-single-section.s
+++ b/llvm/test/MC/ARM/dwarf-asm-single-section.s
@@ -1,5 +1,5 @@
// RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -fdebug-compilation-dir=/tmp
-// RUN: llvm-dwarfdump -v %t | FileCheck -check-prefix DWARF %s
+// RUN: llvm-dwarfdump -a %t | FileCheck -check-prefix DWARF %s
// RUN: llvm-objdump -r %t | FileCheck -check-prefix RELOC %s
.section .text, "ax"
@@ -19,13 +19,13 @@ a:
// DWARF: DW_AT_language DW_FORM_data2
// DWARF: .debug_info contents:
-// DWARF: 0x{{[0-9a-f]+}}: DW_TAG_compile_unit [1]
+// DWARF: DW_TAG_compile_unit
// DWARF-NOT: DW_TAG_
-// DWARF: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000000)
-// DWARF: DW_AT_high_pc [DW_FORM_addr] (0x0000000000000004)
+// DWARF: DW_AT_low_pc (0x0000000000000000)
+// DWARF: DW_AT_high_pc (0x0000000000000004)
-// DWARF: 0x{{[0-9a-f]+}}: DW_TAG_label [2] *
-// DWARF-NEXT: DW_AT_name [DW_FORM_string] ("a")
+// DWARF: DW_TAG_label
+// DWARF-NEXT: DW_AT_name ("a")
// DWARF: .debug_aranges contents:
OpenPOWER on IntegriCloud