]> granicus.if.org Git - clang/commit
[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)
commita216e5249413904c583387a15ab47853a9adbe6f
tree227e7937ec19d545dbd392055cf66a5ef7c7a3e2
parent85a2bd7b86535fb2eabeda3eaafb0e91c2b68331
[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.

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