[PATCH] D127148: [ELF] Support 'G' in lld

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 19:31:57 PDT 2022


MaskRay accepted this revision.
MaskRay added inline comments.


================
Comment at: lld/test/ELF/stack-tagging-cfi.s:1
+# RUN: llvm-mc -filetype=obj -triple aarch64-generic-linux -mattr=+mte %s -o %t.o
+# RUN: ld.lld --eh-frame-hdr %t.o -o %t
----------------



================
Comment at: lld/test/ELF/stack-tagging-cfi.s:3
+# RUN: ld.lld --eh-frame-hdr %t.o -o %t
+# RUN: llvm-objdump -s --dwarf=frames %t | FileCheck %s
+
----------------
`-s` is not needed


================
Comment at: lld/test/ELF/stack-tagging-cfi.s:20
+                                        // -- End function
+	.globl	NoUnwind                        // -- Begin function NoUnwind
+	.p2align	2
----------------
Delete `NoUnwind`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127148/new/

https://reviews.llvm.org/D127148



More information about the llvm-commits mailing list