[compiler-rt] r240960 - [libsanitizer] Replace ReadBinaryName() with ReadBinaryNameCached(),

Yury Gribov y.gribov at samsung.com
Mon Jun 29 09:17:18 PDT 2015


On 06/29/2015 06:58 PM, Alexander Potapenko wrote:
> Author: glider
> Date: Mon Jun 29 10:58:16 2015
> New Revision: 240960
>
> URL: http://llvm.org/viewvc/llvm-project?rev=240960&view=rev
> Log:
> [libsanitizer] Replace ReadBinaryName() with ReadBinaryNameCached(),
> which caches the executable name upon the first invocation.
> This is necessary because Google Chrome (and potentially other programs)
> restrict the access to /proc/self/exe on linux.
> This change should fix https://code.google.com/p/chromium/issues/detail?id=502974

This still keeps unnecessary InternalScopedString's.

-Y



More information about the llvm-commits mailing list