HomeFreeBSD

clang: Skip attempts to access /proc/self/fd

Description

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

(cherry picked from commit 30ed48b0a50a062415addcac216371a55e1f6a66)

Details

Provenance
mjgAuthored on Mar 27 2022, 6:01 PM
dimCommitted on May 30 2022, 6:27 PM
Reviewer
dim
Differential Revision
D34684: clang: Skip attempts to access /proc/self/fd
Parents
rG72562ae6e6e3: Export _Unwind_Complete and _Unwind_VRS_Pop from arm's libgcc_s
Branches
Unknown
Tags
Unknown