diff options
author | Dimitry Ivanov <dimitry@google.com> | 2017-01-06 14:49:57 -0800 |
---|---|---|
committer | Dimitry Ivanov <dimitry@google.com> | 2017-01-06 16:16:26 -0800 |
commit | 462ea664cfddefe688965668955c41e1443ac94e (patch) | |
tree | c13205e7fed3c1e5be716844acba2cb0e064b399 /libc/stdio/stdio_ext.cpp | |
parent | fb07c36bc061db4ca5d8348ff6bc1e60b6c53191 (diff) |
Fix bionic-unit-tests-static crash
The crash happens because for static executables call to dlopen
results in crash. This change moves dlopen() == nullptr check
from static variable to a functions so that the dlopen crash only
affects tests calling dlopen but not the whole executable.
Also make static tests report crashes to debugerd
Test: run bionic-unit-tests-static (for arm 32 and 64)
Bug: http://b/34129417
Change-Id: I7c4d8caf2a43250234fe24496b1c95eab572769f
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions