[PATCH] D85802: [clang] Add -fc++-abi= flag for specifying which C++ ABI to use

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 17 12:09:08 PDT 2022


rjmccall added a comment.

I suspect the Fuchsia project is not in fact volunteering to maintain a port of every imaginable C++ ABI to Fuchsia.  (Many of these "ABIs" are specifically stuff like "the Itanium ABI as modified for iOS ARM64" and are not really portable anyway.)  You may be interested in supporting multiple C++ ABI variants, but you've still got a list, and it's not even a very long list.  So we can support this driver option, but we can lock it down to Fuchsia (or any other OSes in the future that want to support multiple ABIs), and we can lock down the options it allows.

I would like to know how you build multilib across C++ ABIs, though.  My (admittedly weak) understanding was that ELF multilib support was just based on arch strings.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85802/new/

https://reviews.llvm.org/D85802



More information about the cfe-commits mailing list