]> granicus.if.org Git - clang/commit
Use getArch instead of getArchName.
authorRafael Espindola <rafael.espindola@gmail.com>
Sun, 7 Oct 2012 03:23:40 +0000 (03:23 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sun, 7 Oct 2012 03:23:40 +0000 (03:23 +0000)
commita4a809e23ef17bef21afc50e70412a77567807ae
treedd8233c0e31fa46c1c28cb4520b87792d103f56a
parent09fa33bfe7c7f02bb18c78c5e15522fb99a9f357
Use getArch instead of getArchName.

The darwin change should be a nop since Triple::getArchTypeForDarwinArchName
doesn't know about amd64.

If things like amd64-mingw32 are to be rejected, we should print a error
earlier on instead of silently using the wrong abi.

Remove old comment that looks out of place, this is "in clang".

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165368 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp
lib/Driver/WindowsToolChain.cpp
test/Driver/clang-translation.c