We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bb8a82 commit e2d37d3Copy full SHA for e2d37d3
stdlib/public/runtime/SwiftRT-ELF.cpp
@@ -51,7 +51,7 @@ static void swift_image_constructor() {
51
// WebAssembly hack: ok this should really go in its own file
52
#define SWIFT_SECTION_RANGE(name) \
53
{ reinterpret_cast<uintptr_t>(&__start_##name) + sizeof(void*), \
54
- static_cast<uintptr_t>(&__stop_##name - &__start_##name) }
+ static_cast<uintptr_t>(&__stop_##name - &__start_##name - sizeof(void*)) }
55
#endif
56
57
sections = {
0 commit comments