llvm/test/tools/dsymutil/X86/empty-CU.test
raw| 1 | RUN: llvm-mc %p/../Inputs/empty-CU.s -filetype obj -triple x86_64-apple-darwin -o %t.o |
| 2 | RUN: dsymutil --update -f %t.o -o - | llvm-dwarfdump -v - -debug-info | FileCheck %s |
| 3 | |
| 4 | CHECK: .debug_info contents: |
| 5 | CHECK: 0x00000000: Compile Unit: length = 0x00000008, format = DWARF32, version = 0x0003, abbr_offset = 0x0000, addr_size = 0x04 (next unit at 0x0000000c) |
| 6 | |
| 7 | CHECK: 0x0000000b: DW_TAG_compile_unit [1] |