xref: /llvm-project/llvm/test/DebugInfo/AArch64/eh-frame.ll (revision 3ab0f53ef3c9947288e04ee028818176df8f15b1)
1; RUN: llc -filetype=obj -mtriple=aarch64 %s -o %t.o
2; RUN: llvm-readobj -r %t.o | FileCheck %s --check-prefix=REL32
3; RUN: llvm-dwarfdump --eh-frame %t.o 2>&1 | FileCheck %s
4
5; REL32:      R_AARCH64_PREL32 .text 0x0
6; REL32-NEXT: R_AARCH64_PREL32 .text 0x4
7
8; CHECK-NOT:  warning:
9; CHECK: FDE cie=00000000 pc=00000000...00000004
10; CHECK: FDE cie=00000000 pc=00000004...00000008
11
12define void @foo() {
13entry:
14  ret void
15}
16
17define void @bar() {
18entry:
19  ret void
20}
21