// This checks that llvm-mc is able to produce 64-bit debug info.
// RUN: llvm-mc -g -dwarf64 -triple x86_64-apple-darwin10 %s -filetype=obj -o %t
// RUN: llvm-dwarfdump -v %t | FileCheck %s
// CHECK: .debug_info contents:
// CHECK-NEXT: 0x00000000: Compile Unit: {{.*}} format = DWARF64, version = {{.*}}, abbr_offset = 0x0000, addr_size = 0x08
// CHECK: DW_TAG_compile_unit *
// CHECK-NEXT: DW_AT_stmt_list (0x0000000000000000)
// CHECK: DW_TAG_label
// CHECK-NEXT: DW_AT_name ("foo")
// CHECK: .debug_frame contents:
// CHECK: 00000000 {{({16})}} ffffffffffffffff CIE
// CHECK-NEXT: Format: DWARF64
// CHECK: {{({8})}} {{({16})}} 0000000000000000 FDE cie=00000000 pc=00000000...00000001
// CHECK-NEXT: Format: DWARF64
// CHECK: .debug_aranges contents:
// CHECK-NEXT: Address Range Header: length = 0x0000000000000034, format = DWARF64, version = 0x0002, cu_offset = 0x0000000000000000, addr_size = 0x08, seg_size = 0x00
// CHECK-NEXT: