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

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 14 16:07:38 PDT 2020


rnk added a comment.

I'd like to point out that we used to have a very similar flag, but we removed it back in 2014: http://reviews.llvm.org/D2545

Are you sure you need all the flexibility that this flag allows? For example, this will let users ask for the MSVC C++ ABI on Linux. I really don't want to support the mips, wasm, microsoft, or ios C++ ABI on arbitrary targets, and I don't want to have to teach clang to diagnose all the unsupported ways users can use this flag. The smaller we can make the space of options, the better, and the less conditional soup we'll have in the future.


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