| commit | e8bd4e50e4a30e1a046b4f6a8768dce8569a982f | [log] [tgz] |
|---|---|---|
| author | Rafael Espindola <rafael.espindola@gmail.com> | Sun Oct 07 03:23:40 2012 +0000 |
| committer | Rafael Espindola <rafael.espindola@gmail.com> | Sun Oct 07 03:23:40 2012 +0000 |
| tree | f1f0bf507723f5472aeb5b13f75f72fd41f9db5e | |
| parent | e0b1dea26732f06cbee78984335ad703b1f6a5b0 [diff] |
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". llvm-svn: 165368