[Lldb-commits] [PATCH] D30942: Remove some ProcFileReader occurences
Eugene Zemtsov via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 14 11:58:31 PDT 2017
eugene accepted this revision.
eugene added inline comments.
================
Comment at: source/Host/linux/Host.cpp:167
+ (llvm::Twine("/proc/") + llvm::Twine(pid) + "/exe").toVector(ProcExe);
+ llvm::SmallString<0> ExePath;
+ ExePath.assign(PATH_MAX, '\0');
----------------
std::string? Do we have any benefits from using 0 size stack allocated string here?
https://reviews.llvm.org/D30942
More information about the lldb-commits
mailing list