2017-09-12 00:59:45 +02: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-25 21:26:43 +01:00
|
|
|
|
|
|
|
; DUMP_ALL: .debug_info
|
2017-09-14 00:09:01 +02:00
|
|
|
; DUMP_ALL: .debug_str
|
2013-01-25 21:26:43 +01:00
|
|
|
|
|
|
|
; DUMP_INFO: .debug_info
|
|
|
|
; DUMP_INFO-NOT: .debug_ranges
|
2017-09-14 00:09:01 +02:00
|
|
|
; DUMP_INFO-NOT: .debug_str
|
2013-01-25 21:26:43 +01:00
|
|
|
|
|
|
|
; DUMP_RANGES-NOT: .debug_info
|
|
|
|
; DUMP_RANGES: .debug_ranges
|
|
|
|
|