2017-09-12 06:59:45 +08:00
|
|
|
; RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test.elf-x86-64 --all | FileCheck %s -check-prefix DUMP_ALL
|
|
|
|
; RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test.elf-x86-64 --debug-info | FileCheck %s -check-prefix DUMP_INFO
|
|
|
|
; RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test.elf-x86-64 --debug-ranges | FileCheck %s -check-prefix DUMP_RANGES
|
|
|
|
; RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test.macho-i386.o -all | FileCheck %s -check-prefix DUMP_ALL
|
|
|
|
; RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test.macho-i386.o --debug-info | FileCheck %s -check-prefix DUMP_INFO
|
|
|
|
; RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test.macho-i386.o --debug-ranges | FileCheck %s -check-prefix DUMP_RANGES
|
2013-01-26 04:26:43 +08:00
|
|
|
|
|
|
|
; DUMP_ALL: .debug_info
|
2017-09-14 06:09:01 +08:00
|
|
|
; DUMP_ALL: .debug_str
|
2013-01-26 04:26:43 +08:00
|
|
|
|
|
|
|
; DUMP_INFO: .debug_info
|
|
|
|
; DUMP_INFO-NOT: .debug_ranges
|
2017-09-14 06:09:01 +08:00
|
|
|
; DUMP_INFO-NOT: .debug_str
|
2013-01-26 04:26:43 +08:00
|
|
|
|
|
|
|
; DUMP_RANGES-NOT: .debug_info
|
|
|
|
; DUMP_RANGES: .debug_ranges
|
|
|
|
|