diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-13 05:52:19 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-13 05:52:19 +0000 |
commit | f819b25bbfb8bcf65239de259a3174b900612f23 (patch) | |
tree | 2f0b251d2bd436133a719befa7adc179e5abe9fc | |
parent | 22dacfacacf5559028550ba6ddfbaa4ea6cb3944 (diff) |
Add a FIXME.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87089 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/clang-cc/clang-cc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/clang-cc/clang-cc.cpp b/tools/clang-cc/clang-cc.cpp index ec9a43fcec..f718fef374 100644 --- a/tools/clang-cc/clang-cc.cpp +++ b/tools/clang-cc/clang-cc.cpp @@ -794,6 +794,10 @@ ConstructCompilerInvocation(CompilerInvocation &Opts, Diagnostic &Diags, // Initialize frontend options. InitializeFrontendOptions(Opts.getFrontendOpts()); + // FIXME: The target information in frontend options should be split out into + // TargetOptions, and the target options in codegen options should move there + // as well. Then we could properly initialize in layering order. + // Initialize base triple. If a -triple option has been specified, use // that triple. Otherwise, default to the host triple. llvm::Triple Triple(Opts.getFrontendOpts().TargetTriple); |