[llvm-bugs] [Bug 44181] New: Quoting style when expanding response file
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Nov 29 03:18:08 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=44181
Bug ID: 44181
Summary: Quoting style when expanding response file
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: wasm
Assignee: unassignedbugs at nondot.org
Reporter: eric.pellissier at sivilog.com
CC: llvm-bugs at lists.llvm.org, sbc at chromium.org
When using wasm-ld from Visual Studio, the response file provided to the linker
uses the Windows quoting style instead of the GNU one.
Unfortunately the current version of wasm-ld always uses the
"cl::TokenizeGNUCommandLine" when expanding the response file.
It would be good to use the same trick as in the MinGW version of Driver.cpp
with a "getDefaultQuotingStyle()" function that returns either
"cl::TokenizeGNUCommandLine" or "cl::TokenizeWindowsCommandLine" depending on
the triple (see Diff 203886).
I have implemented this locally and can provide a patch if needed.
Thanks a lot.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191129/0d1f690c/attachment.html>
More information about the llvm-bugs
mailing list