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

Alexander Potapenko glider at google.com
Tue Jun 30 08:23:41 PDT 2015


I'll address that issue separately.
Thank you!

On Mon, Jun 29, 2015 at 6:17 PM, Yury Gribov <y.gribov at samsung.com> wrote:
> 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



-- 
Alexander Potapenko
Software Engineer

Google Germany GmbH
Dienerstraße 12
80331 München




More information about the llvm-commits mailing list