[llvm] [Support] Only enable use of /proc/self/fd on Linux (PR #222497)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 01:21:41 PDT 2026
================
@@ -1027,11 +1027,7 @@ ErrorOr<basic_file_status> directory_entry::status() const {
return s;
}
-//
-// FreeBSD optionally provides /proc/self/fd, but it is incompatible with
-// Linux. The thing to use is realpath.
----------------
zhangweize9-cyber wrote:
Please pay attention to the comment here.
https://github.com/llvm/llvm-project/pull/222497
More information about the llvm-commits
mailing list