[compiler-rt] e79f050 - [compiler-rt] Don't use 'vg' in CFI directives for SME ABI routines

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 30 01:29:01 PDT 2023


Author: Sander de Smalen
Date: 2023-10-30T08:27:10Z
New Revision: e79f0506cf6fd32ed466fdd2ccbb68dcacbb4bf5

URL: https://github.com/llvm/llvm-project/commit/e79f0506cf6fd32ed466fdd2ccbb68dcacbb4bf5
DIFF: https://github.com/llvm/llvm-project/commit/e79f0506cf6fd32ed466fdd2ccbb68dcacbb4bf5.diff

LOG: [compiler-rt] Don't use 'vg' in CFI directives for SME ABI routines

This broke some builds where GNU assembler doesn't support 'vg'.

Added: 
    

Modified: 
    compiler-rt/lib/builtins/aarch64/sme-abi.S

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/builtins/aarch64/sme-abi.S b/compiler-rt/lib/builtins/aarch64/sme-abi.S
index b3612c68066f234..d470ecaf7aaad19 100644
--- a/compiler-rt/lib/builtins/aarch64/sme-abi.S
+++ b/compiler-rt/lib/builtins/aarch64/sme-abi.S
@@ -35,7 +35,7 @@ DEFINE_COMPILERRT_PRIVATE_FUNCTION(do_abort)
   .cfi_def_cfa_offset 32
   .cfi_offset w30, -24
   .cfi_offset w29, -32
-  .cfi_offset vg, -16
+  .cfi_offset 46, -16
 	bl	__arm_sme_state
 	tbz	x0, #0, 2f
 1:


        


More information about the llvm-commits mailing list