Bob,

>    const Driver &D = getToolChain().getDriver();
> -  llvm::Triple Triple = getToolChain().getTriple();
> +  // Get the effective triple, which takes into account the deployment 
> target.
> +  std::string TripleStr = getToolChain().ComputeEffectiveClangTriple(Args);
> +  llvm::Triple Triple(TripleStr);
A lot of code down contains calls like
getToolChain().getTriple().isFoo(). Should they be moved to use this
Triple ?

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to