[Lldb-commits] [PATCH] D45703: Use a utility function to speed up "process load image" for POSIX Platforms

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 17 10:29:42 PDT 2018


zturner added inline comments.


================
Comment at: source/Plugins/Platform/POSIX/PlatformPOSIX.cpp:957-958
+
   char path[PATH_MAX];
   remote_file.GetPath(path, sizeof(path));
+  
----------------
Can we use the version that returns a `std::string`?  I consider this version unsafe as it might not always return the full path


Repository:
  rL LLVM

https://reviews.llvm.org/D45703





More information about the lldb-commits mailing list