rnk added a comment.

In D85802#2331403 <https://reviews.llvm.org/D85802#2331403>, @leonardchan wrote:

> Perhaps we can add some mechanism in Clang that determines which ABIs are 
> supported for specific platforms? That is, when targetting Linux, Clang will 
> diagnose an error if using `-fc++-abi=microsoft`. This could cover the case 
> where a specific platform can support multiple ABIs, but those ABIs won't be 
> supported by other platforms.

Right, but the simplest code is the code that doesn't exist: if the option 
doesn't exist, there's no need to diagnose anything. The rest of the "C++ ABIs" 
aren't really their own C++ ABIs, they are just a reflection of the target 
triple.

What is the actual use case? I read the RFC, but ever since I became a manager, 
my reading comprehension level dropped back to grade school, and I apologize 
for that. As I understood it, you need a flag that enables all the Itanium ABI 
extensions (relative vtables, and others) used in Fuchsia, at once. A single 
relative vtable ABI flag isn't sufficient (would it be?).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85802

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to