On Wed, Jun 15, 2016 at 11:05 AM, David Blaikie <dblai...@gmail.com> wrote:

> Perhaps we shouldn't emit it if it's the logical platform default as it
> (to my naive understanding) appears to be here?
>

It is only the default for member functions, and member functions can be
cdecl (the free function default). I think it makes more sense to be
explicit, otherwise the debugger has to infer that, because this is a
member function, it uses a different calling convention.

It looks like there is an open bug to have GCC and GDB use
DW_AT_calling_convention in this way, but it is not closed:
https://sourceware.org/bugzilla/show_bug.cgi?id=15559
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to