In contrast to Linux it does not provide entries which can be readlinked -- these are just regular files, not giving the expected outcome. That's on top of procfs not being mounted by default to begin with.
Also submitted upstream https://reviews.llvm.org/D122545