[Lldb-commits] [PATCH] D55457: Do not use PATH_MAX with SmallString

Stella Stamenova via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 7 13:15:44 PST 2018


stella.stamenova created this revision.
stella.stamenova added reviewers: labath, asmith.
Herald added a subscriber: lldb-commits.

Instead use a more reasonable value to start and rely on the fact that SmallString will resize if necessary.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D55457

Files:
  source/Commands/CommandCompletions.cpp
  source/Commands/CommandObjectPlatform.cpp
  source/Host/common/Host.cpp
  source/Host/posix/PipePosix.cpp
  source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  source/Target/ProcessInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55457.177292.patch
Type: text/x-patch
Size: 5685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181207/267803d1/attachment.bin>


More information about the lldb-commits mailing list