debug-frame-dumps-eh-frame-and-debug-frame.yaml 339 Bytes
## Show that the --debug-frame switch dumps both .debug_frame and .eh_frame if
## present.

# RUN: yaml2obj %s -o %t
# RUN: llvm-dwarfdump --debug-frame %t | FileCheck %s

# CHECK: .debug_frame contents:
# CHECK: .eh_frame contents:

--- !ELF
FileHeader:
  Class:   ELFCLASS64
  Data:    ELFDATA2LSB
  Type:    ET_REL
  Machine: EM_X86_64