Add nominal support for 'shave' target.
authorDouglas Katzman <dougk@google.com>
Fri, 19 Jun 2015 14:55:19 +0000 (14:55 +0000)
committerDouglas Katzman <dougk@google.com>
Fri, 19 Jun 2015 14:55:19 +0000 (14:55 +0000)
commit84a7564b28360843ee9afec5d3823c89623eb6a5
treea247c458f5d2fab3633641a5797f9c0338b1771b
parent9fed25056675398c3df288c01c4aafce061be792
Add nominal support for 'shave' target.

This change passes through C and assembler jobs to Movidius tools by
constructing commands which are the same as ones produces by the examples
in the SDK. But rather than reference MV_TOOLS_DIR to find tools,
we will assume that binaries are installed wherever the Driver would
find its native tools. Similarly, this change assumes that -I options
will "just work" based on where SDK headers get installed, rather than
baking into the Driver some magic paths.

Differential Revision: http://reviews.llvm.org/D10440

llvm-svn: 240134
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains.cpp
clang/lib/Driver/ToolChains.h
clang/lib/Driver/Tools.cpp
clang/lib/Driver/Tools.h
clang/test/Driver/shave-toolchain.c [new file with mode: 0644]