1; RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test-32bit.elf.o --debug-frame | FileCheck %s -check-prefix FRAMES 2; Note: the input file was generated from Inputs/dwarfdump-test-32bit.elf.c 3; REQUIRES: x86-registered-target 4 5; FRAMES: .debug_frame 6 7; FRAMES: 00000000 00000010 ffffffff CIE 8; FRAMES: Version: 1 9; FRAMES: DW_CFA_def_cfa: {{reg4|ESP}} +4 10; FRAMES-NEXT: DW_CFA_offset: {{reg8|EIP}} -4 11; FRAMES-NEXT: DW_CFA_nop: 12; FRAMES-NEXT: DW_CFA_nop: 13 14; FRAMES: 00000014 00000010 00000000 FDE cie=00000000 pc=00000000...00000022 15; FRAMES: DW_CFA_advance_loc: 3 16; FRAMES-NEXT: DW_CFA_def_cfa_offset: +12 17; FRAMES-NEXT: DW_CFA_nop: 18 19; FRAMES: 00000028 00000014 00000000 FDE cie=00000000 pc=00000030...00000080 20; FRAMES: DW_CFA_advance_loc: 1 21; FRAMES-NEXT: DW_CFA_def_cfa_offset: +8 22; FRAMES-NEXT: DW_CFA_offset: {{reg5|EBP}} -8 23; FRAMES-NEXT: DW_CFA_advance_loc: 2 24; FRAMES-NEXT: DW_CFA_def_cfa_register: {{reg5|EBP}} 25 26; FRAMES-NOT: CIE 27; FRAMES-NOT: FDE 28; FRAMES: .eh_frame 29