]> granicus.if.org Git - clang/commit
Get the -march argument based on the target MIPS architecture or cpu and pass
authorAkira Hatanaka <ahatanaka@mips.com>
Wed, 30 Nov 2011 19:31:38 +0000 (19:31 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Wed, 30 Nov 2011 19:31:38 +0000 (19:31 +0000)
commitc85900f4d6aec17ef29140bfc97977463ac75cb2
tree6eb244c883751859b812d7f03a87242d39549256
parent90735f717de5d5dfe6a6f5f543b0daedff94bc1a
Get the -march argument based on the target MIPS architecture or cpu and pass
it to GNU assembler. In addition, change function getMipsArchFromCPU() so that
it can be reused in ConstructJob().

Patch by Simon Atanasyan.

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