aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/FrontendOptions.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-13 01:02:19 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-13 01:02:19 +0000
commit21dac5e24a14d3288565515b35ad98c38460c9dd (patch)
treeb674a5ab9eec278f312ab08ffa11c7e8601e63cf /include/clang/Frontend/FrontendOptions.h
parent914474ca51d202369241a81013208833a6bb3f12 (diff)
Move -target-{triple,abi} options into FrontendOptions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/FrontendOptions.h')
-rw-r--r--include/clang/Frontend/FrontendOptions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/clang/Frontend/FrontendOptions.h b/include/clang/Frontend/FrontendOptions.h
index 0ccb242796..0674c0bb40 100644
--- a/include/clang/Frontend/FrontendOptions.h
+++ b/include/clang/Frontend/FrontendOptions.h
@@ -37,6 +37,13 @@ public:
unsigned ShowTimers : 1; ///< Show timers for individual
/// actions.
+ /// If given, the name of the target triple to compile for. If not given the
+ /// target will be selected to match the host.
+ std::string TargetTriple;
+
+ /// If given, the name of the target ABI to use.
+ std::string TargetABI;
+
/// The input files.
std::vector<std::string> InputFilenames;