[PATCH] D93668: [clang] Add -ffuchsia-c++-abi flag to explicitly use the Fuchsia C++ ABI
Leonard Chan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 21 15:36:13 PST 2020
leonardchan created this revision.
leonardchan added reviewers: phosek, mcgrathr, rnk.
leonardchan added a project: clang.
Herald added subscribers: dexonsmith, dang.
leonardchan requested review of this revision.
This is a more concentrated version of D85802 <https://reviews.llvm.org/D85802> which added a flag for
selecting between any C++ ABI at compile-time. This limits it down to
only explicitly using the Fuchsia C++ ABI as per the discussion at the
end of that review.
This will be used as a way to integrate code built with Clang with code
built by other compilers that don't contain Fuchsia-specific ABI
changes. The immediate use case is for generating multilibs that use the
generic Itanium ABI to be used by code built by GCC.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93668
Files:
clang/include/clang/AST/ASTContext.h
clang/include/clang/Basic/LangOptions.h
clang/include/clang/Driver/Options.td
clang/lib/AST/ASTContext.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/ItaniumCXXABI.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/CodeGenCXX/constructor-destructor-return-this.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93668.313210.patch
Type: text/x-patch
Size: 6875 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201221/8615ddfe/attachment-0001.bin>
More information about the cfe-commits
mailing list