[llvm-bugs] [Bug 47579] New: Assertion failure when executable path contains \" on Windows
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Sep 18 08:51:00 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47579
Bug ID: 47579
Summary: Assertion failure when executable path contains \" on
Windows
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Support Libraries
Assignee: unassignedbugs at nondot.org
Reporter: john.brawn at arm.com
CC: llvm-bugs at lists.llvm.org
If an llvm tool is invoked using a path that contains \" on Windows due to some
part of the path ending in \ being quoted, e.g.
"F:\work\build\bin\"opt --help
then this results in an assertion failure:
Assertion failed: idx < size(), file
F:\work\src\llvm-project\llvm\include\llvm/ADT/SmallVector.h, line 183
It looks like probably something is going wrong in
windows::GetCommandLineArguments in llvm/lib/Support/Windows/Process.inc or in
the functions that it calls (cl::TokenizeWindowsCommandLine or
GetExecutableName).
--
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/20200918/1df3670e/attachment-0001.html>
More information about the llvm-bugs
mailing list