[WebAssembly] Remove the -target command-line flag from the ld commandline.
authorDan Gohman <dan433584@gmail.com>
Mon, 21 Dec 2015 23:30:41 +0000 (23:30 +0000)
committerDan Gohman <dan433584@gmail.com>
Mon, 21 Dec 2015 23:30:41 +0000 (23:30 +0000)
commitf4b4e08db0482a267a6ffe639b99019027bf610c
tree03be189ce30174f72a12d6d4df1df217181d1645
parent3f79e3259360a1b112b9e5351302e4a6e720d732
[WebAssembly] Remove the -target command-line flag from the ld commandline.

This flag isn't needed, or permitted, with the "ld" flavor of lld.

Also, add a basic ld commandline test.

llvm-svn: 256216
clang/lib/Driver/Tools.cpp
clang/test/Driver/wasm-toolchain.c [new file with mode: 0644]