xref: /llvm-project/lld/test/ELF/stack-tagging-cfi.s (revision f6b1bfb7d5cc5201f5910c7e11766abc279a1f7a)
1# REQUIRES: aarch64
2
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
6
7# CHECK: Augmentation:          "zRG"
8
9	.text
10	.globl	WithUnwind
11	.p2align	2
12	.type	WithUnwind,@function
13WithUnwind:
14	.cfi_startproc
15	.cfi_mte_tagged_frame
16	ret
17.Lfunc_end0:
18	.size	WithUnwind, .Lfunc_end0-WithUnwind
19	.cfi_endproc
20