[llvm] r359427 - Try to use /proc on FreeBSD for getExecutablePath

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 03:09:57 PST 2019


On Wed, 13 Nov 2019 at 05:16, Ed Maste <emaste at freebsd.org> wrote:
>
> 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
...

Actually we want AT_EXECPATH from the ELF auxiliary vectors; I'm
building with a patch now for testing.


More information about the llvm-commits mailing list