]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
clang: Skip attempts to access /proc/self/fd
authorMateusz Guzik <mjg@FreeBSD.org>
Sun, 27 Mar 2022 18:01:38 +0000 (18:01 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Sun, 27 Mar 2022 18:01:38 +0000 (18:01 +0000)
commit30ed48b0a50a062415addcac216371a55e1f6a66
tree0c02f7eb393d8901c363ebde5b03cd8412af1f9d
parentef88adc5273dea4139fc5693cc34508d492979e7
clang: Skip attempts to access /proc/self/fd

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.

Reviewed by: dim
Differential Revision: https://reviews.freebsd.org/D34684
contrib/llvm-project/llvm/lib/Support/Unix/Path.inc