[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / lld / test / ELF / stack-tagging-cfi.s
blob82ed2f5a9d92366b4622f82202a389b825de9d1f
1 # REQUIRES: aarch64
3 # RUN: llvm-mc -filetype=obj -triple aarch64 -mattr=+mte %s -o %t.o
4 # RUN: ld.lld --eh-frame-hdr %t.o -o %t
5 # RUN: llvm-objdump --dwarf=frames %t | FileCheck %s
7 # CHECK: Augmentation: "zRG"
9 .text
10 .globl WithUnwind
11 .p2align 2
12 .type WithUnwind,@function
13 WithUnwind:
14 .cfi_startproc
15 .cfi_mte_tagged_frame
16 ret
17 .Lfunc_end0:
18 .size WithUnwind, .Lfunc_end0-WithUnwind
19 .cfi_endproc