summaryrefslogtreecommitdiff
path: root/linker/linker_libcxx_support.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2017-04-24 17:48:32 -0700
committerChristopher Ferris <cferris@google.com>2017-05-03 08:50:43 -0700
commit7a3681e5b6c39bc2b3b62031ca5941dbf7bc4e63 (patch)
tree78c25e2a38b7efed8db770a623a5cbfb7eaab11d /linker/linker_libcxx_support.cpp
parentca5e0f49ca5df873a20c996755175b5c9c1e2ed9 (diff)
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
Diffstat (limited to 'linker/linker_libcxx_support.cpp')
-rw-r--r--linker/linker_libcxx_support.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linker/linker_libcxx_support.cpp b/linker/linker_libcxx_support.cpp
index e7b23e056..11e0f40be 100644
--- a/linker/linker_libcxx_support.cpp
+++ b/linker/linker_libcxx_support.cpp
@@ -26,8 +26,8 @@
* SUCH DAMAGE.
*/
-#include "private/libc_logging.h"
+#include <async_safe/log.h>
void* __find_icu_symbol(const char* symbol_name __attribute__((__unused__))) {
- __libc_fatal("__find_icu_symbol should not be called in the linker");
+ async_safe_fatal("__find_icu_symbol should not be called in the linker");
}