[Lldb-commits] [PATCH] D105732: [lldb] Update logic to close inherited file descriptors.

Fangrui Song via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 17 16:41:19 PDT 2021


MaskRay added inline comments.


================
Comment at: lldb/source/Host/posix/ProcessLauncherPosixFork.cpp:148
 
+    std::string proc_fd_path = "/proc/self/fd";
+    std::filesystem::path fp(proc_fd_path);
----------------
/proc/self/fd is generally unavailable on non-Linux OSes.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105732/new/

https://reviews.llvm.org/D105732



More information about the lldb-commits mailing list