Skip to content

Commit fc0c988

Browse files
committed
[Runtime] Tidy up a couple of minor nits.
This doesn't change any code, just makes things look slightly neater. rdar://123504095
1 parent c0d2253 commit fc0c988

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

stdlib/public/runtime/SwiftRT-ELF-WASM.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,20 @@ static const void *__backtraceRef __attribute__((used, retain))
3636
// by the linker. Otherwise, we may end up with undefined symbol references as
3737
// the linker table section was never constructed.
3838
#if defined(__ELF__)
39-
# define DECLARE_EMPTY_METADATA_SECTION(name,attrs) __asm__("\t.section " #name ",\"" attrs "\"\n");
39+
# define DECLARE_EMPTY_METADATA_SECTION(name, attrs) __asm__("\t.section " #name ",\"" attrs "\"\n");
4040
#elif defined(__wasm__)
41-
# define DECLARE_EMPTY_METADATA_SECTION(name,attrs) __asm__("\t.section " #name ",\"R\",@\n");
41+
# define DECLARE_EMPTY_METADATA_SECTION(name, attrs) __asm__("\t.section " #name ",\"R\",@\n");
4242
#endif
4343

44-
#define BOUNDS_VISIBILITY __attribute__((__visibility__("hidden"),__aligned__(1)))
44+
#define BOUNDS_VISIBILITY __attribute__((__visibility__("hidden"), \
45+
__aligned__(1)))
46+
4547
#define DECLARE_BOUNDS(name) \
4648
BOUNDS_VISIBILITY extern const char __start_##name; \
4749
BOUNDS_VISIBILITY extern const char __stop_##name;
4850

4951
#define DECLARE_SWIFT_SECTION(name) \
50-
DECLARE_EMPTY_METADATA_SECTION(name,"aR") \
52+
DECLARE_EMPTY_METADATA_SECTION(name, "aR") \
5153
DECLARE_BOUNDS(name)
5254

5355
// These may or may not be present, depending on compiler switches; it's

0 commit comments

Comments
 (0)