[cfe-dev] [RFC][Clang] Flag for Switching between C++ ABIs
Leonard Chan via cfe-dev
cfe-dev at lists.llvm.org
Thu Aug 6 10:51:00 PDT 2020
Should it be specific to the C++ ABI though? Or should there be an
> equivalent for C ABI? (Example: The LLVM 68000 back-end that's in progress
> currently targets the SVR4 ABI, but users of the compiler will definitely
> want support for Amiga, Atari, classic Mac OS, Sun, HP, etc. ABIs.) I
> suppose for C this is implied by the target triple, but it might be useful
> to have a separate switch for it.
I'm not opposed to having an equivalent C flag for controlling C ABIs. I
figured we could start off with one for C++ then incrementally add more
options as people demand them.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev