[Distributed] Handle mangling thunks in extensions with generic AS and $Stubs (#71914)

This commit is contained in:
Konrad `ktoso` Malawski
2024-02-29 21:22:00 +09:00
committed by GitHub
parent 92f3b0f2c4
commit c56a1e8be7
29 changed files with 565 additions and 296 deletions

View File

@@ -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,