2013-02-06 20:55:06 +00:00
|
|
|
; RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test-32bit.elf.o -debug-dump=frames | FileCheck %s -check-prefix FRAMES
|
2013-02-06 22:34:46 +00:00
|
|
|
; Note: the input file was generated from Inputs/dwarfdump-test-32bit.elf.c
|
2013-02-06 20:55:06 +00:00
|
|
|
|
|
|
|
; FRAMES: .debug_frame
|
|
|
|
; FRAMES-NOT: .eh_frame
|
|
|
|
|
|
|
|
; FRAMES: 00000000 00000010 ffffffff CIE
|
|
|
|
; FRAMES: Version: 1
|
2013-02-21 22:53:19 +00:00
|
|
|
; FRAMES: DW_CFA_def_cfa
|
|
|
|
; FRAMES-NEXT: DW_CFA_offset
|
|
|
|
; FRAMES-NEXT: DW_CFA_nop
|
|
|
|
; FRAMES-NEXT: DW_CFA_nop
|
2013-02-06 20:55:06 +00:00
|
|
|
|
|
|
|
; FRAMES: 00000014 00000010 00000000 FDE cie=00000000 pc=00000000...00000022
|
2013-02-21 22:53:19 +00:00
|
|
|
; FRAMES: DW_CFA_advance_loc
|
|
|
|
; FRAMES-NEXT: DW_CFA_def_cfa_offset
|
|
|
|
; FRAMES-NEXT: DW_CFA_nop
|
|
|
|
|
2013-02-06 20:55:06 +00:00
|
|
|
; FRAMES: 00000028 00000014 00000000 FDE cie=00000000 pc=00000030...00000080
|
2013-02-21 22:53:19 +00:00
|
|
|
; FRAMES: DW_CFA_advance_loc
|
|
|
|
; FRAMES-NEXT: DW_CFA_def_cfa_offset
|
|
|
|
; FRAMES-NEXT: DW_CFA_offset
|
|
|
|
; FRAMES-NEXT: DW_CFA_advance_loc
|
|
|
|
; FRAMES-NEXT: DW_CFA_def_cfa_register
|
2013-02-06 20:55:06 +00:00
|
|
|
|
|
|
|
; FRAMES-NOT: CIE
|
|
|
|
; FRAMES-NOT: FDE
|
|
|
|
|