HomeFreeBSD

llvm: use AT_EXECPATH from ELF auxiliary vectors for getExecutablePath

Description

llvm: use AT_EXECPATH from ELF auxiliary vectors for getExecutablePath

/proc/curproc/file and the KERN_PROC_PATHNAME sysctl may not return the
desired path if there are multiple hardlinks to the file.

PR: 241932
Tested by: ler
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS354691: Improve Linuxulator man pages to better reflect the current state,
Branches
Unknown
Tags
Unknown