OSDN Git Service

Create per-uid GCOV_PREFIX dir in the getenv wrapper
authorPirama Arumuga Nainar <pirama@google.com>
Fri, 26 Jul 2019 21:49:58 +0000 (14:49 -0700)
committerOliver Nguyen <olivernguyen@google.com>
Mon, 3 Feb 2020 19:05:25 +0000 (19:05 +0000)
commit466d7164cf077377a82c2e598613373ed9cf590b
tree4bf43e987d8faa053be84e47dde1f04074963ec4
parent0fba97d295347637e8f44cc4691a027683f5c031
Create per-uid GCOV_PREFIX dir in the getenv wrapper

Bug: http://b/116873221

With https://reviews.llvm.org/D65245, the profile runtime assumes that
the directory ${GCOV_PREFIX} is already created.  Before returning from
the getenv wrapper, create the per-uid ${GCOV_PREFIX}.

Test: cuttlefish builds and boots with new Clang.
Change-Id: I276e1a92b3cb18ee85bb4451159b131d8ebca4a2
Merged-In: I276e1a92b3cb18ee85bb4451159b131d8ebca4a2
(cherry picked from commit b00f2fc6bb862c1b41c33984830e93149efa339d)
toolchain-extras/profile-globals.c