On 10/12/2015 12:56 PM, Christian Bruel wrote:
yes I see, I was hoping to avoid a new hook, but as you said it seems
mandatory for the mere declaration case.

Here is one proposal, it defaults to nothing and the ARM implementation
does not need to handle the vptr bit setting. so that simplifies a lot
the things.

The hook is called from rest_of_decl_compilation for mere declarations
and allocate_struct_function for definitions.

This looks good to me. I still think we also want your vptr patch.


Bernd

Reply via email to