]> granicus.if.org Git - clang/commit
clang: forward -no-integrated-as from the driver
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 22 Feb 2014 23:37:58 +0000 (23:37 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 22 Feb 2014 23:37:58 +0000 (23:37 +0000)
commit9c1883ccfcece3766ea9b922c267f877008312ea
treeb6e35b8305603fc0a24253c15180e244b9c45d01
parent0474d7c347bfada0f39b50f60f25aab3951fb265
clang: forward -no-integrated-as from the driver

Forward the -no-integrated-as option to -cc1 rather than simply invoking the
appropriate tool.  This is useful since this option has been overloaded to
permit disabling of parsing inline assembly at the MC layer.

This re-applies the previous version of the patch with a renaming of the driver
option to the public name rather than the internal name (-target vs -triple).
The actual failure is fixed separately of an overly aggressive negative pattern
match in the MIPS driver tests.  It also fixes the incorrect test for targets
that have the integrated assembler disabled by default.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201960 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/no-integrated-as.c [new file with mode: 0644]