File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change 42
42
43
43
#else
44
44
45
- #if defined(__ELF__)
46
- #define SWIFT_REFLECTION_METADATA_ELF_NOTE_MAGIC_STRING " swift_reflection_metadata_magic_string"
47
- #endif // defined(__ELF__)
48
-
49
45
#include " swift/shims/Visibility.h"
50
46
#include < cstdint>
51
47
#include < cstddef>
Original file line number Diff line number Diff line change @@ -83,14 +83,3 @@ static void swift_image_constructor() {
83
83
84
84
swift_addNewDSOImage (§ions);
85
85
}
86
-
87
- __asm__ (" .section \" .note.swift_reflection_metadata\" , \" aw\" " );
88
-
89
- static __attribute__ ((__used__))
90
- __attribute__((__section__(" .note.swift_reflection_metadata" )))
91
- __attribute__((__aligned__(1 )))
92
- struct {
93
- const char MagicString[sizeof (SWIFT_REFLECTION_METADATA_ELF_NOTE_MAGIC_STRING)];
94
- const swift::MetadataSections *Sections;
95
- } __attribute__((__packed__))
96
- Note = {SWIFT_REFLECTION_METADATA_ELF_NOTE_MAGIC_STRING, §ions};
You can’t perform that action at this time.
0 commit comments