On 9/25/18 4:21 AM, Eric Botcazou wrote:
> Hi,
>
> this extends the support for thunks present in the middle-end to accomodate
> the Ada language, which can generate more diverse thunks than C++. The main
> couple of enhancements are:
> 1. Indirect offsets used to implement thunks for self-ref
> I think you should also handle duplicate_thunk_for_node in
> cgraphclones.c. That function clones thunks when the function they
> belong to gets cloned. If you think you don't need to handle it for one
> reason or another, at the very least put an assert there that
> indirect_offset is zero.
T
Hi,
On Tue, Sep 25 2018, Eric Botcazou wrote:
> Hi,
>
> this extends the support for thunks present in the middle-end to accomodate
> the Ada language, which can generate more diverse thunks than C++. The main
> couple of enhancements are:
> 1. Indirect offsets used to implement thunks for sel
Hi,
this extends the support for thunks present in the middle-end to accomodate
the Ada language, which can generate more diverse thunks than C++. The main
couple of enhancements are:
1. Indirect offsets used to implement thunks for self-referential types,
2. Local thunks used to implement th