Use getProcessTriple inside HostInfoBase::ComputeHostArchitectureSupport instead of getDefaultTargetTriple.

http://reviews.llvm.org/D7893

llvm-svn: 230674
This commit is contained in:
Oleksiy Vyalov 2015-02-26 20:02:13 +00:00
parent 54ef895137
commit b071bee295
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ HostInfoBase::ComputeUserPluginsDirectory(FileSpec &file_spec)
void
HostInfoBase::ComputeHostArchitectureSupport(ArchSpec &arch_32, ArchSpec &arch_64)
{
llvm::Triple triple(llvm::sys::getDefaultTargetTriple());
llvm::Triple triple(llvm::sys::getProcessTriple());
arch_32.Clear();
arch_64.Clear();