| commit | 82eb4ce47661d987735cf34ebb5289806f518c53 | [log] [tgz] |
|---|---|---|
| author | Daniel Dunbar <daniel@zuster.org> | Mon Aug 23 22:35:37 2010 +0000 |
| committer | Daniel Dunbar <daniel@zuster.org> | Mon Aug 23 22:35:37 2010 +0000 |
| tree | 93189ef418eedae36899e887936cea3a635d5088 | |
| parent | f10f9bec833f6b438d52d3dcb70578bfde449116 [diff] |
Driver: Move Clang "triple" computation routines to method on the ToolChain. This fixes a potenial bad cast when running Clang on PPC code, since the tool chain in effect is not a subclass of the Darwin one, but we were treating it like it was. - This introduces some gross code duplication, but the right fix for it is to just move the Driver to start depending on the targets in libBasic, so I am not planning on fixing it immediately. llvm-svn: 111856