]> granicus.if.org Git - clang/commitdiff
Add a FIXME.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 13 Nov 2009 05:52:19 +0000 (05:52 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 13 Nov 2009 05:52:19 +0000 (05:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87089 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-cc/clang-cc.cpp

index ec9a43fcec6b76f66143bd9bd7647fcf584c83da..f718fef3749cdc059053f8a71099b2f47aaaeb5b 100644 (file)
@@ -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);