From 98b7c5c496dfccb39287b8f7d8f1444594936d10 Mon Sep 17 00:00:00 2001 From: Charles Davis Date: Fri, 11 Jun 2010 01:06:47 +0000 Subject: Add an option to specify the target C++ ABI to the frontend. Use it to select either the default Itanium ABI or the new, experimental Microsoft ABI. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105804 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/TargetOptions.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/clang/Basic/TargetOptions.h') diff --git a/include/clang/Basic/TargetOptions.h b/include/clang/Basic/TargetOptions.h index eeaab1558f..cec8f53158 100644 --- a/include/clang/Basic/TargetOptions.h +++ b/include/clang/Basic/TargetOptions.h @@ -29,6 +29,10 @@ public: /// If given, the name of the target ABI to use. std::string ABI; + /// If given, the name of the target C++ ABI to use. If not given, defaults + /// to "itanium". + std::string CXXABI; + /// The list of target specific features to enable or disable -- this should /// be a list of strings starting with by '+' or '-'. std::vector Features; -- cgit v1.2.3