[PATCH] D122545: Skip attemps to access /proc/self/fd on FreeBSD

Mateusz Guzik via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 27 09:09:21 PDT 2022


mjguzik added a comment.

Side note that hasProcSelfFD should be get dropped -- the code can go straight for readlink and fallback if that fails. The access() call performed by hasProcSelfFD adds nothing really.  Maybe I'll submit a patch later. Note that even in this case the readlink would have to be made conditional on FreeBSD.


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

https://reviews.llvm.org/D122545



More information about the llvm-commits mailing list