xref: /llvm-project/lld/test/ELF/eh-frame.s (revision 100247fde449636b4882de14981b203bd5bb410a)
1// REQUIRES: x86
2// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o
3// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/eh-frame.s -o %t2.o
4// RUN: ld.lld %t1.o %t2.o -o %t
5// RUN: llvm-dwarfdump -eh-frame %t | FileCheck %s
6
7// CHECK:   DW_CFA_def_cfa_offset: +64
8// CHECK:   DW_CFA_def_cfa_offset: +32
9
10.cfi_startproc
11.cfi_def_cfa_offset 64
12.cfi_endproc
13