Skip to content

Commit b5f4298

Browse files
authored
Merge pull request #41307 from xedin/fix-dist-linux
[Distributed] Runtime: Add missing accessible function section registration on ELF
2 parents a64f04e + 4e8f962 commit b5f4298

11 files changed

+2
-57
lines changed

stdlib/public/runtime/SwiftRT-ELF.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ DECLARE_SWIFT_SECTION(swift5_replace)
3939
DECLARE_SWIFT_SECTION(swift5_replac2)
4040
DECLARE_SWIFT_SECTION(swift5_builtin)
4141
DECLARE_SWIFT_SECTION(swift5_capture)
42+
DECLARE_SWIFT_SECTION(swift5_accessible_functions)
4243
}
4344

4445
#undef DECLARE_SWIFT_SECTION
@@ -72,6 +73,7 @@ static void swift_image_constructor() {
7273
SWIFT_SECTION_RANGE(swift5_replac2),
7374
SWIFT_SECTION_RANGE(swift5_builtin),
7475
SWIFT_SECTION_RANGE(swift5_capture),
76+
SWIFT_SECTION_RANGE(swift5_accessible_functions),
7577
};
7678

7779
#undef SWIFT_SECTION_RANGE

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_echo.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,9 @@
1414
// FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574
1515
// UNSUPPORTED: windows
1616

17-
// FIXME(distributed): remote calls seem to hang on linux - rdar://87240034
18-
// UNSUPPORTED: linux
19-
2017
// rdar://87568630 - segmentation fault on 32-bit WatchOS simulator
2118
// UNSUPPORTED: OS=watchos && CPU=i386
2219

23-
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// OK: rdar88228867
25-
2620
import _Distributed
2721
import FakeDistributedActorSystems
2822

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_empty.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,9 @@
1414
// FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574
1515
// UNSUPPORTED: windows
1616

17-
// FIXME(distributed): remote calls seem to hang on linux - rdar://87240034
18-
// UNSUPPORTED: linux
19-
2017
// rdar://87568630 - segmentation fault on 32-bit WatchOS simulator
2118
// UNSUPPORTED: OS=watchos && CPU=i386
2219

23-
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// OK: rdar88228867
25-
2620
import _Distributed
2721
import FakeDistributedActorSystems
2822

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_genericFunc.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,9 @@
1414
// FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574
1515
// UNSUPPORTED: windows
1616

17-
// FIXME(distributed): remote calls seem to hang on linux - rdar://87240034
18-
// UNSUPPORTED: linux
19-
2017
// rdar://87568630 - segmentation fault on 32-bit WatchOS simulator
2118
// UNSUPPORTED: OS=watchos && CPU=i386
2219

23-
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// OK: rdar88228867
25-
2620
import _Distributed
2721
import FakeDistributedActorSystems
2822

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_hello.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,9 @@
1414
// FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574
1515
// UNSUPPORTED: windows
1616

17-
// FIXME(distributed): remote calls seem to hang on linux - rdar://87240034
18-
// UNSUPPORTED: linux
19-
2017
// rdar://87568630 - segmentation fault on 32-bit WatchOS simulator
2118
// UNSUPPORTED: OS=watchos && CPU=i386
2219

23-
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// OK: rdar88228867
25-
2620
import _Distributed
2721
import FakeDistributedActorSystems
2822

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_take.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,9 @@
1414
// FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574
1515
// UNSUPPORTED: windows
1616

17-
// FIXME(distributed): remote calls seem to hang on linux - rdar://87240034
18-
// UNSUPPORTED: linux
19-
2017
// rdar://87568630 - segmentation fault on 32-bit WatchOS simulator
2118
// UNSUPPORTED: OS=watchos && CPU=i386
2219

23-
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// OK: rdar88228867
25-
2620
import _Distributed
2721
import FakeDistributedActorSystems
2822

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_takeThrowReturn.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,9 @@
1414
// FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574
1515
// UNSUPPORTED: windows
1616

17-
// FIXME(distributed): remote calls seem to hang on linux - rdar://87240034
18-
// UNSUPPORTED: linux
19-
2017
// rdar://87568630 - segmentation fault on 32-bit WatchOS simulator
2118
// UNSUPPORTED: OS=watchos && CPU=i386
2219

23-
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// OK: rdar88228867
25-
2620
import _Distributed
2721
import FakeDistributedActorSystems
2822

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_take_two.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,9 @@
1414
// FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574
1515
// UNSUPPORTED: windows
1616

17-
// FIXME(distributed): remote calls seem to hang on linux - rdar://87240034
18-
// UNSUPPORTED: linux
19-
2017
// rdar://87568630 - segmentation fault on 32-bit WatchOS simulator
2118
// UNSUPPORTED: OS=watchos && CPU=i386
2219

23-
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// OK: rdar88228867
25-
2620
import _Distributed
2721
import FakeDistributedActorSystems
2822

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_throw.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,9 @@
1414
// FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574
1515
// UNSUPPORTED: windows
1616

17-
// FIXME(distributed): remote calls seem to hang on linux - rdar://87240034
18-
// UNSUPPORTED: linux
19-
2017
// rdar://87568630 - segmentation fault on 32-bit WatchOS simulator
2118
// UNSUPPORTED: OS=watchos && CPU=i386
2219

23-
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// OK: rdar88228867
25-
2620
import _Distributed
2721
import FakeDistributedActorSystems
2822

test/Distributed/Runtime/distributed_actor_remoteCall.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
// FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574
1515
// UNSUPPORTED: windows
1616

17-
// FIXME(distributed): remote calls seem to hang on linux - rdar://87240034
18-
// UNSUPPORTED: linux
19-
2017
import _Distributed
2118

2219
final class Obj: @unchecked Sendable, Codable {}

test/Distributed/Runtime/distributed_actor_remoteCall_roundtrip.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
// FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574
1717
// UNSUPPORTED: windows
1818

19-
// FIXME(distributed): remote calls seem to hang on linux - rdar://87240034
20-
// UNSUPPORTED: linux
21-
22-
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
23-
// OK: rdar88228867
24-
2519
import _Distributed
2620
import FakeDistributedActorSystems
2721

0 commit comments

Comments
 (0)