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

Leonard Chan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 14 11:34:02 PDT 2022


leonardchan added a comment.

In D85802#3858760 <https://reviews.llvm.org/D85802#3858760>, @rjmccall wrote:

> Does Fuchsia still need this?  If those experiments have stabilized, maybe we can just remove it.  Also, it should probably have been a -cc1 flag in the first place.

We still use this for making gnu-compatible multilibs (that is, multilibs which use regular itanium vtables): https://github.com/llvm/llvm-project/blob/2c7b7eca85c2ccc9b0d5c65169213ce499652f92/clang/cmake/caches/Fuchsia-stage2.cmake#L200

AFAICT there doesn't seem to be a way where one can select the C++ ABI independently of the target platform.


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