[PATCH] D15831: [Clang/Support/Windows/Unix] Command lines created by clang may exceed the command length limit set by the OS
Oleg Ranevskyy via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 5 10:48:54 PST 2016
iid_iunknown marked an inline comment as done.
================
Comment at: lib/Support/Unix/Program.inc:459
@@ -458,3 +458,3 @@
- size_t ArgLength = 0;
+ size_t ArgLength = Program.size() + 1;
for (ArrayRef<const char*>::iterator I = Args.begin(), E = Args.end();
----------------
Fixed.
Thanks!
Repository:
rL LLVM
http://reviews.llvm.org/D15831
More information about the llvm-commits
mailing list