[llvm] r359427 - Try to use /proc on FreeBSD for getExecutablePath
Ed Maste via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 02:16:48 PST 2019
On Mon, 29 Apr 2019 at 05:22, David Chisnall via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
>
> Author: theraven
> Date: Mon Apr 29 02:24:51 2019
> New Revision: 359427
>
> URL: http://llvm.org/viewvc/llvm-project?rev=359427&view=rev
> Log:
> Try to use /proc on FreeBSD for getExecutablePath
Just discovered this while looking at
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241932. ccache
started failing as a result of this change; more investigation is
still necessary.
In any case /proc is deprecated; the canonical way to do this is via
the KERN_PROC_PATHNAME sysctl, as in
lldb/source/Host/freebsd/Host.cpp. I'll post a patch for review in a
bit.
More information about the llvm-commits
mailing list