[AsmPrinter] Don't assert on GOT equivalent non-constant users.
[oota-llvm.git] / test / MC / MachO / gen-dwarf.s
index d763dd120ab257319a637f2ed9732c5b38541731..ad0a562aaf70d3b706add01e8738b0bebc70a6d9 100644 (file)
@@ -46,12 +46,12 @@ _x: .long 1
 // CHECK:    DW_AT_name [DW_FORM_string]
 // We don't check the DW_AT_comp_dir which is the current working directory
 // CHECK:    DW_AT_producer [DW_FORM_string]   ("llvm-mc (based on {{.*}})")
-// CHECK:    DW_AT_language [DW_FORM_data2]    (0x8001)
+// CHECK:    DW_AT_language [DW_FORM_data2]    (DW_LANG_Mips_Assembler)
 
 // CHECK:    DW_TAG_label [2] *
 // CHECK:      DW_AT_name [DW_FORM_string]     ("bar")
-// CHECK:      DW_AT_decl_file [DW_FORM_data4] (0x00000001)
-// CHECK:      DW_AT_decl_line [DW_FORM_data4] (0x00000005)
+// CHECK:      DW_AT_decl_file [DW_FORM_data4] ([[FILE:".*gen-dwarf.s"]])
+// CHECK:      DW_AT_decl_line [DW_FORM_data4] (5)
 // CHECK:      DW_AT_low_pc [DW_FORM_addr]     (0x0000000000000000)
 // CHECK:      DW_AT_prototyped [DW_FORM_flag] (0x00)
 
@@ -61,8 +61,8 @@ _x:   .long 1
 
 // CHECK:    DW_TAG_label [2] *
 // CHECK:      DW_AT_name [DW_FORM_string]     ("foo")
-// CHECK:      DW_AT_decl_file [DW_FORM_data4] (0x00000001)
-// CHECK:      DW_AT_decl_line [DW_FORM_data4] (0x00000009)
+// CHECK:      DW_AT_decl_file [DW_FORM_data4] ([[FILE]])
+// CHECK:      DW_AT_decl_line [DW_FORM_data4] (9)
 // CHECK:      DW_AT_low_pc [DW_FORM_addr]     (0x0000000000000007)
 // CHECK:      DW_AT_prototyped [DW_FORM_flag] (0x00)
 
@@ -72,8 +72,8 @@ _x:   .long 1
 
 // CHECK:    DW_TAG_label [2] *
 // CHECK:      DW_AT_name [DW_FORM_string]     ("baz")
-// CHECK:      DW_AT_decl_file [DW_FORM_data4] (0x00000001)
-// CHECK:      DW_AT_decl_line [DW_FORM_data4] (0x0000000a)
+// CHECK:      DW_AT_decl_file [DW_FORM_data4] ([[FILE]])
+// CHECK:      DW_AT_decl_line [DW_FORM_data4] (10)
 // CHECK:      DW_AT_low_pc [DW_FORM_addr]     (0x0000000000000007)
 // CHECK:      DW_AT_prototyped [DW_FORM_flag] (0x00)
 
@@ -113,10 +113,10 @@ _x:       .long 1
 // CHECK:                 ---- ---------- ---------- ---------------------------
 // CHECK: file_names[  1]    1 0x00000000 0x00000000 gen-dwarf.s
 
-// CHECK: Address            Line   Column File   ISA Flags
-// CHECK: ------------------ ------ ------ ------ --- -------------
-// CHECK: 0x0000000000000000      6      0      1   0  is_stmt
-// CHECK: 0x0000000000000005      7      0      1   0  is_stmt
-// CHECK: 0x0000000000000006      8      0      1   0  is_stmt
-// CHECK: 0x0000000000000007     11      0      1   0  is_stmt
-// CHECK: 0x0000000000000008     11      0      1   0  is_stmt end_sequence
+// CHECK: Address            Line   Column File   ISA Discriminator Flags
+// CHECK: ------------------ ------ ------ ------ --- ------------- -------------
+// CHECK: 0x0000000000000000      6      0      1   0             0  is_stmt
+// CHECK: 0x0000000000000005      7      0      1   0             0  is_stmt
+// CHECK: 0x0000000000000006      8      0      1   0             0  is_stmt
+// CHECK: 0x0000000000000007     11      0      1   0             0  is_stmt
+// CHECK: 0x0000000000000008     11      0      1   0             0  is_stmt end_sequence