diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-01-11 23:13:15 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-01-11 23:13:15 +0000 |
| commit | fd22768b08338aae974fc118c0dd276f6a64899a (patch) | |
| tree | 0ae6be4bc67c565b44045af98cbf015d9635ecd8 /clang/tools/ccc/ccclib/ToolChain.py | |
| parent | f84685290a0a7646e62224774b18e97e5a3211b5 (diff) | |
| download | bcm5719-llvm-fd22768b08338aae974fc118c0dd276f6a64899a.tar.gz bcm5719-llvm-fd22768b08338aae974fc118c0dd276f6a64899a.zip | |
ccc: Add fairly complete argument translation for Darwin link step.
- Some things are still hardcoded, and macosx-version-min comparison
isn't implemented, but otherwise this very closely matches gcc.
- The one exception is that arguments (like -framework or -Wl,) which are
treated as linker inputs instead of options are not being
forwarded yet.
llvm-svn: 62059
Diffstat (limited to 'clang/tools/ccc/ccclib/ToolChain.py')
| -rw-r--r-- | clang/tools/ccc/ccclib/ToolChain.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/tools/ccc/ccclib/ToolChain.py b/clang/tools/ccc/ccclib/ToolChain.py index 46146b5eae4..e80bb089cfb 100644 --- a/clang/tools/ccc/ccclib/ToolChain.py +++ b/clang/tools/ccc/ccclib/ToolChain.py @@ -14,15 +14,15 @@ class ToolChain(object): some particular action.""" abstract -class Darwin_ToolChain(ToolChain): +class Darwin10_X86_ToolChain(ToolChain): def __init__(self, driver): - super(Darwin_ToolChain, self).__init__(driver) + super(Darwin10_X86_ToolChain, self).__init__(driver) self.toolMap = { Phases.PreprocessPhase : Tools.GCC_PreprocessTool(), Phases.CompilePhase : Tools.GCC_CompileTool(), Phases.PrecompilePhase : Tools.GCC_PrecompileTool(), Phases.AssemblePhase : Tools.DarwinAssembleTool(), - Phases.LinkPhase : Tools.Collect2Tool(), + Phases.LinkPhase : Tools.Darwin10_X86_LinkTool(), Phases.LipoPhase : Tools.LipoTool(), } |

