On 10/03/2014 02:41 PM, Cary Coutant wrote:
O. Then I was indeed wrong and defaulted does not impact ABI at all.
At least that is one worry less for the abi checkers :)

As Siva mentioned, it does in fact impact the ABI. A class with a
non-trivial destructor is not a POD, and affects the calling
convention, so the debugger needs to know the difference.

Yes, but defaulted does not imply trivial (though the converse is true), so knowing whether a declaration is defaulted is neither necessary nor sufficient to determine the parameter passing ABI. It would be good to represent trivial_fn_p in the DWARF.

Jason

Reply via email to