Konrad `ktoso` Malawski
7189aded61
[Distributed] minor cleanups, remove dump=always from tests
2024-12-03 14:59:16 +09:00
Konrad `ktoso` Malawski
6e9224cb5d
[Distributed] Introduce SWIFT_DUMP_ACCESSIBLE_FUNCTIONS
2024-12-03 14:59:15 +09:00
Konrad `ktoso` Malawski
c56a1e8be7
[Distributed] Handle mangling thunks in extensions with generic AS and $Stubs ( #71914 )
2024-02-29 04:22:00 -08:00
Konrad `ktoso` Malawski
1d44e2e8e0
[Distributed] Undo new record and mangling scheme for dist.p.witnesses ( #71801 )
2024-02-22 23:02:29 +09:00
Ben Barham
ef8825bfe6
Migrate llvm::Optional to std::optional
...
LLVM has removed llvm::Optional, move over to std::optional. Also
clang-format to fix up all the renamed #includes.
2024-02-21 11:20:06 -08:00
Konrad `ktoso` Malawski
e9c7f3c382
[Distributed] Target identifiers for protocol calls ( #70928 )
2024-02-16 07:19:20 -08:00
Mike Ash
110f428780
[Runtime] Add tracing for section scans.
...
Section scans (for metadata, protocols, etc.) can be costly. This change adds tracing calls to those scans so we can more easily see how much time is spent in these scans and where they're initiated.
This adds an os_signpost implementation controlled by SWIFT_STDLIB_TRACING, and a default empty implementation for when that's disabled.
rdar://110266743
2023-06-14 12:07:44 -04:00
Saleem Abdulrasool
a8b0ee24dc
runtime: blanket application of namespacing and inclusion of new
...
Apply a blanket pass of including `new` for the placement new allocation
and namespacing the call to the global placement new allocator. This
should repair the Android ARMv7 builds.
2022-04-14 14:21:12 -07:00
Pavel Yaskevich
9165af24dd
[Runtime] Add pointer auth to accessible function section/cache
2022-04-11 11:14:18 -07:00
Pavel Yaskevich
9157cb044e
[Runtime] NFC: Rename Function -> Record in AccessibleFunctionEntry and related variables
2022-04-11 11:02:35 -07:00
Jonathan Grynspan
099fdc2e41
Fix an issue on COFF/ELF targets where the runtime would register each loaded image twice (at least early on.)
2022-01-01 11:39:25 -05:00
Arnold Schwaighofer
cf3951394a
Revert "Fix an issue on COFF/ELF targets where the runtime would register each loaded image twice (at least early on.)"
2021-12-21 07:15:08 -08:00
Jonathan Grynspan
7fe5ea7398
Fix an issue on COFF/ELF targets where the runtime would register each loaded image twice (at least early on.)
2021-12-20 15:15:02 -05:00
Pavel Yaskevich
d65906b1e8
[Runtime] Expose accessible function lookup as stdlib SPI
...
`findAccessibleFunction` has to be accessible from Concurrency
and Distributed modules to be able to lookup distributed accessors.
2021-12-17 10:52:56 -08:00
Pavel Yaskevich
7eee8c0dd2
[Distributed] Runtime: Cache previously requested accessible functions
2021-12-17 10:52:56 -08:00
Pavel Yaskevich
3f4c06eb1b
[Distributed] Runtime: Add skeleton support for accessible function sections
2021-12-17 10:52:56 -08:00