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: unassignedb...@nondot.org
Reporter: eric.pelliss...@sivilog.com
CC: llvm-bugs@lists.llvm.org, s...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs