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: unassignedb...@nondot.org
Reporter: john.br...@arm.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs