diff options
author | Ed Maste <emaste@freebsd.org> | 2019-11-13 13:24:23 -0500 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2019-11-14 09:48:48 -0500 |
commit | a0a38b81ea911f1cd4e400f1ab54dd4930598a7c (patch) | |
tree | 4cc476d6293554ff2da8cc978a9eb78588be6e0b /llvm/lib/Transforms/IPO/FunctionImport.cpp | |
parent | 232cdb3d3018b4bda60a2a62c3b071ad3af8bd35 (diff) | |
download | bcm5719-llvm-a0a38b81ea911f1cd4e400f1ab54dd4930598a7c.tar.gz bcm5719-llvm-a0a38b81ea911f1cd4e400f1ab54dd4930598a7c.zip |
On FreeBSD 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, or if the path has
expired from the namecache.
Reviewed By: theraven
Differential Revision: https://reviews.llvm.org/D70198
Diffstat (limited to 'llvm/lib/Transforms/IPO/FunctionImport.cpp')
0 files changed, 0 insertions, 0 deletions