From 7939ce39dac0078fef7183d6198598b99c652c88 Mon Sep 17 00:00:00 2001 From: Jon Roelofs Date: Fri, 17 Nov 2023 14:21:57 -0800 Subject: [PATCH] [builtins] Move cfi start's after the symbol name [NFC] ... in preparation for diagnosing improperly nested .cfi regions. See https://reviews.llvm.org/D155245 --- compiler-rt/lib/builtins/assembly.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler-rt/lib/builtins/assembly.h b/compiler-rt/lib/builtins/assembly.h index 169d49683f503c..8c42fc773483bc 100644 --- a/compiler-rt/lib/builtins/assembly.h +++ b/compiler-rt/lib/builtins/assembly.h @@ -260,9 +260,10 @@ .globl name SEPARATOR \ SYMBOL_IS_FUNC(name) SEPARATOR \ DECLARE_SYMBOL_VISIBILITY_UNMANGLED(name) SEPARATOR \ - CFI_START SEPARATOR \ DECLARE_FUNC_ENCODING \ - name: SEPARATOR BTI_C + name: \ + SEPARATOR CFI_START \ + SEPARATOR BTI_C #define DEFINE_COMPILERRT_FUNCTION_ALIAS(name, target) \ .globl SYMBOL_NAME(name) SEPARATOR \