summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/eh-frame.s
blob: a07d242add1593a1c4fc6e1c12432a5c32b59ad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/eh-frame.s -o %t2.o
// RUN: ld.lld %t1.o %t2.o -o %t
// RUN: llvm-dwarfdump -eh-frame %t | FileCheck %s

// CHECK:   DW_CFA_def_cfa_offset: +64
// CHECK:   DW_CFA_def_cfa_offset: +32

.cfi_startproc
.cfi_def_cfa_offset 64
.cfi_endproc
OpenPOWER on IntegriCloud