Skip to content

Commit 56abb27

Browse files
committed
🍒 [builtins] Move cfi start's after the symbol name [NFC]
... in preparation for diagnosing improperly nested .cfi regions. See https://reviews.llvm.org/D155245 Cherry-pick: 7939ce3
1 parent f68ba2a commit 56abb27

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compiler-rt/lib/builtins/assembly.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,10 @@
260260
.globl name SEPARATOR \
261261
SYMBOL_IS_FUNC(name) SEPARATOR \
262262
DECLARE_SYMBOL_VISIBILITY_UNMANGLED(name) SEPARATOR \
263-
CFI_START SEPARATOR \
264263
DECLARE_FUNC_ENCODING \
265-
name: SEPARATOR BTI_C
264+
name: \
265+
SEPARATOR CFI_START \
266+
SEPARATOR BTI_C
266267

267268
#define DEFINE_COMPILERRT_FUNCTION_ALIAS(name, target) \
268269
.globl SYMBOL_NAME(name) SEPARATOR \

0 commit comments

Comments
 (0)