File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,8 @@ HIDDEN(__aarch64_have_lse_atomics)
113
113
.endm
114
114
115
115
#ifdef L_cas
116
- DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED(NAME(cas))
116
+ DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED_START(NAME(cas))
117
+ DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED_END(NAME(cas))
117
118
JUMP_IF_NOT_LSE 8f
118
119
#if SIZE < 16
119
120
#ifdef HAS_ASM_LSE
@@ -166,7 +167,8 @@ END_COMPILERRT_OUTLINE_FUNCTION(NAME(cas))
166
167
#else
167
168
#define SWP .inst 0x38208020 + B + N
168
169
#endif
169
- DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED(NAME(swp))
170
+ DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED_START(NAME(swp))
171
+ DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED_END(NAME(swp))
170
172
JUMP_IF_NOT_LSE 8f
171
173
SWP // s( 0 ) , s( 0 ) , [ x1 ]
172
174
ret
@@ -209,7 +211,8 @@ END_COMPILERRT_OUTLINE_FUNCTION(NAME(swp))
209
211
#define LDOP .inst 0x38200020 + OPN + B + N
210
212
#endif
211
213
212
- DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED(NAME(LDNM))
214
+ DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED_START(NAME(LDNM))
215
+ DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED_END(NAME(LDNM))
213
216
JUMP_IF_NOT_LSE 8f
214
217
LDOP // s( 0 ) , s( 0 ) , [ x1 ]
215
218
ret
Original file line number Diff line number Diff line change 243
243
DECLARE_FUNC_ENCODING \
244
244
name:
245
245
246
- #define DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED (name ) \
246
+ // TODO(ilinpv) START & END parts will be merged when assembly parser bug
247
+ // (kristina) in MasmParser::parseDirectiveCFIStartProc() is fixed.
248
+ #define DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED_START (name ) \
247
249
DEFINE_CODE_STATE \
248
250
FUNC_ALIGN \
249
251
.globl name SEPARATOR \
250
252
SYMBOL_IS_FUNC(name) SEPARATOR \
251
- DECLARE_SYMBOL_VISIBILITY(name) SEPARATOR \
253
+ DECLARE_SYMBOL_VISIBILITY(name)
254
+
255
+ #define DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED_END (name ) \
252
256
CFI_START SEPARATOR \
253
257
DECLARE_FUNC_ENCODING \
254
258
name: SEPARATOR BTI_C
You can’t perform that action at this time.
0 commit comments