]> granicus.if.org Git - clang/commit
Make the triple an explicit argument of FindTargetProgramPath.
authorJoerg Sonnenberger <joerg@bec.de>
Mon, 16 May 2011 13:35:02 +0000 (13:35 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Mon, 16 May 2011 13:35:02 +0000 (13:35 +0000)
commit182564cd14a2105fff05fd52f5940eff96161d57
tree71b8a2e4273b1ffae01c59b020b5fd0fd3fd84cf
parent07622fdd2e8e10427f668712ccce8dd768006640
Make the triple an explicit argument of FindTargetProgramPath.
Preserve the original triple in the NetBSD toolchain when using -m32 or
-m64 and the resulting effective target is different from the triple it
started with. This allows -m32 to use the same assembler/linking in
cross-compiling mode and avoids confusion about passing down target
specific flags in that case like --32.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131404 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/HostInfo.cpp
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
lib/Driver/Tools.cpp
lib/Driver/Tools.h