Files
clang-p2996/lld/test/ELF/eh-frame.s
Rafael Espindola 100247fde4 Add a test.
This would have found the issues with r313697.

The problem was that that commit mixed the content of different
.eh_frame sections. Unfortunately we had no tests looking inside the
fdes.

llvm-svn: 314433
2017-09-28 17:15:02 +00:00

13 lines
382 B
ArmAsm

// 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