Date: Thu, 22 Dec 2022 22:27:12 -0300
On Monday, 19 December 2022 08:32:53 -03 Sébastien Bini via Std-Proposals
wrote:
> Problem is enabling relocation from function parameters passed by value.
> For this to work, we need the ABI of the function to be callee-destroy (the
> function itself is responsible for destroying its parameters). Otherwise if
> the ABI were caller-destroy, then the function could not avoid the call to
> the destructor on its input parameters, should some be passed to a
> relocation constructor.
>
> The ABI break is planned to be opt-in and opt-out. Declaring a relocation
> constructor on a class-type will force each function that takes that class
> as value parameter to be callee-destroy (potential ABI break, depending on
> compilers).
Have you approached the ABI people? What have they said?
https://github.com/itanium-cxx-abi/cxx-abi/issues/ has no matches for "reloc"
or "relocation"
wrote:
> Problem is enabling relocation from function parameters passed by value.
> For this to work, we need the ABI of the function to be callee-destroy (the
> function itself is responsible for destroying its parameters). Otherwise if
> the ABI were caller-destroy, then the function could not avoid the call to
> the destructor on its input parameters, should some be passed to a
> relocation constructor.
>
> The ABI break is planned to be opt-in and opt-out. Declaring a relocation
> constructor on a class-type will force each function that takes that class
> as value parameter to be callee-destroy (potential ABI break, depending on
> compilers).
Have you approached the ABI people? What have they said?
https://github.com/itanium-cxx-abi/cxx-abi/issues/ has no matches for "reloc"
or "relocation"
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering
Received on 2022-12-23 01:27:14