summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2017-11-27 21:34:43 +0000
committerKostya Kortchinsky <kostyak@google.com>2017-11-27 21:34:43 +0000
commit41d6b75aa999cf7d49be9bb030919a72d5a4ec7d (patch)
treecf0d3922906472fb76d40fcbef0cb1eb3e03f133 /test
parentdc8c0dd36ba2c119772ec7e614ca33ec6463214e (diff)
[scudo] Workaround for uninitialized Bionic globals
Summary: Bionic doesn't initialize its globals early enough. This causes issues when trying to access them from a preinit_array (b/25751302) or from another constructor called before the libc one (b/68046352). __progname is initialized after the other globals, so we can check its value to know if calling `getauxval` is safe. Reviewers: alekseyshl Reviewed By: alekseyshl Subscribers: srhines, llvm-commits Differential Revision: https://reviews.llvm.org/D40504 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions