History log of /bionic/linker/linker_memory.cpp
Revision Date Author Comments
72282add20b19a0500140e0ffcab4b36a9548290 24-Jan-2018 Josh Gao <jmgao@google.com> linker_memory: return success in enable_fallback_allocator.

Instead of aborting when in use, return a bool instead.

Test: debuggerd_test
Change-Id: Ifd2e4439303c95054298b0a05e0cb648ded1306c
7a3681e5b6c39bc2b3b62031ca5941dbf7bc4e63 25-Apr-2017 Christopher Ferris <cferris@google.com> Move libc_log code into libasync_safe.

This library is used by a number of different libraries in the system.
Make it easy for platform libraries to use this library and create
an actual exported include file.

Change the names of the functions to reflect the new name of the library.

Run clang_format on the async_safe_log.cpp file since the formatting is
all over the place.

Bug: 31919199

Test: Compiled for angler/bullhead, and booted.
Test: Ran bionic unit tests.
Test: Ran the malloc debug tests.
Change-Id: I8071bf690c17b0ea3bc8dc5749cdd5b6ad58478a
222272ece93d35dbb4eb76076f29bbe719bf5c93 07-Mar-2017 Josh Gao <jmgao@google.com> linker_memory: allow fallback allocator to be turned on and off.

Let the fallback allocator be used on multiple threads (as long as only
one thread is using it at once).

Bug: http://b/35858739
Change-Id: Id3e2fc6b7c093c6e56870524ffda28946de09e29
9ccccc1a952c7abc99f5d912878b751d114c99bd 09-Feb-2017 Josh Gao <jmgao@google.com> linker: add android_use_fallback_allocator.

Add a function to enable a fallback allocator to use for crash handling
in a signal handler.

Bug: http://b/34684590
Test: crasher PR_SET_NO_NEW_PRIVS
Change-Id: Ifa5de636164f34b8cb2fdec4471c20f8516b6dbe
bcc4da9b752f0def46d63ed7b31f3f49cc2435ad 16-Feb-2017 Dimitry Ivanov <dimitry@google.com> Unify linker files under one license (BSD)

Historically we had part of the linker licensed under BSD and
another part under Apache 2 license. This commit makes all the
linker code licensed under BSD license.

Test: m
Change-Id: I11b8163ae75966b5768d3fe992679de376106515
19656ce5376c95ce0deebc4d0c6af1bb8d740934 11-Mar-2015 Dmitriy Ivanov <dimitry@google.com> General purpose memory allocator for linker.

Add basic general purpose memory allocator to
linker in order to enable usage of other libraries
like libziparchive.

Change-Id: I4a680ebb36ed5ba67c61249f81dba9f567808434