Add a FIXME.

llvm-svn: 87089
This commit is contained in:
Daniel Dunbar 2009-11-13 05:52:19 +00:00
parent aaa148fd36
commit 210a80086b
1 changed files with 4 additions and 0 deletions

View 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);