[PATCH] D122914: [Windows] Fix handling of \" in program name on cmd line.
Simon Tatham via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 4 01:52:07 PDT 2022
simon_tatham updated this revision to Diff 420123.
simon_tatham edited the summary of this revision.
simon_tatham added a comment.
Updated to fix the handling of a trailing unclosed quoted string, as suggested. It turns out (checking with that same 6-line test program) that even an //empty// unclosed quoted string still turns into an argv word, contrary to one of the existing unit tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122914/new/
https://reviews.llvm.org/D122914
Files:
llvm/include/llvm/Support/CommandLine.h
llvm/lib/Support/CommandLine.cpp
llvm/lib/Support/Windows/Process.inc
llvm/unittests/Support/CommandLineTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122914.420123.patch
Type: text/x-patch
Size: 9785 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220404/3a665d76/attachment.bin>
More information about the llvm-commits
mailing list