mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Distributed] Handle mangling thunks in extensions with generic AS and $Stubs (#71914)
This commit is contained in:
committed by
GitHub
parent
92f3b0f2c4
commit
c56a1e8be7
@@ -4992,24 +4992,7 @@ public:
|
||||
AccessibleFunctionFlags Flags;
|
||||
};
|
||||
|
||||
/// More advanced than AccessibleFunctionRecord and contains Actor name
|
||||
template <typename Runtime>
|
||||
struct TargetAccessibleProtocolRequirementFunctionRecord
|
||||
: public TargetAccessibleFunctionRecord<Runtime> {
|
||||
public:
|
||||
/// The concrete Actor type for this accessor.
|
||||
RelativeDirectPointer<const char, /*nullable*/ false> ConcreteActorName;
|
||||
|
||||
/// The concrete witness method mangled name.
|
||||
/// The record name for such record is the mangled name of the protocol
|
||||
/// method. This is the mangled name of the concrete witness method.
|
||||
RelativeDirectPointer<const char, /*nullable*/ false>
|
||||
ConcreteWitnessMethodName;
|
||||
};
|
||||
|
||||
using AccessibleFunctionRecord = TargetAccessibleFunctionRecord<InProcess>;
|
||||
using AccessibleProtocolRequirementFunctionRecord =
|
||||
TargetAccessibleProtocolRequirementFunctionRecord<InProcess>;
|
||||
|
||||
enum class PackLifetime : uint8_t {
|
||||
OnStack = 0,
|
||||
|
||||
@@ -1619,8 +1619,6 @@ namespace SpecialPointerAuthDiscriminators {
|
||||
|
||||
/// Functions accessible at runtime (i.e. distributed method accessors).
|
||||
const uint16_t AccessibleFunctionRecord = 0x438c; // = 17292
|
||||
const uint16_t AccessibleProtocolRequirementFunctionRecord =
|
||||
0xa98e; // = 43406
|
||||
|
||||
/// C type GetExtraInhabitantTag function descriminator
|
||||
const uint16_t GetExtraInhabitantTagFunction = 0x392e; // = 14638
|
||||
|
||||
Reference in New Issue
Block a user