platform_system_core/libbacktrace
Martin Stjernholm ae695c9fad Remove use of static libdexfile to avoid linking in ART internal code.
- Create a static library libunwindstack_no_dex without DEX support.
- Use it in libdebuggerd_handler_fallback, whose only use is in the
  linker, which shouldn't need that support.
- Use it in init_first_stage, which doesn't need DEX support either.
- Also need a libbacktrace_no_dex since it's in the dependency chain
  from init_first_stage to libunwindstack_no_dex.

Also restrict the *_no_dex libs and libdebuggerd_handler_fallback as
much as possible to avoid inadvertent use of these reduced
functionality libs.

Test: m init_first_stage on Cuttlefish
  where BOARD_BUILD_SYSTEM_ROOT_IMAGE=false
Test: m system_image com.android.runtime
Test: Build & boot
Test: atest linker-unit-tests libunwindstack_unit_test debuggerd_test
Bug: 142944931
Bug: 151466650
Change-Id: Iaacb29bfe602f3ca12a00a712e2a64c45ff0118b
Merged-In: Iaacb29bfe602f3ca12a00a712e2a64c45ff0118b
2020-03-24 21:48:00 +00:00
..
include/backtrace libbacktrace: Fix clang-tidy warning 2019-09-09 18:39:08 +02:00
testdata Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
Android.bp Remove use of static libdexfile to avoid linking in ART internal code. 2020-03-24 21:48:00 +00:00
Backtrace.cpp Move to the libc++ demangler. 2019-07-18 17:57:04 -07:00
backtrace_benchmarks.cpp bionic supplies PR_SET_VMA now. 2018-08-22 12:06:20 -07:00
backtrace_read_benchmarks.cpp Add method to detect remote read function to use. 2017-12-07 19:00:00 -08:00
backtrace_test.cpp Load libbacktrace_test.so explicitly. 2018-10-03 12:42:38 -07:00
backtrace_testlib.cpp Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08:00
backtrace_testlib.h Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08:00
BacktraceAsyncSafeLog.h Use async safe logging in signal handlers. 2017-05-04 17:15:17 -07:00
BacktraceCurrent.cpp [libbacktrace] Fix sign-compare warning 2018-12-17 12:51:36 -08:00
BacktraceCurrent.h Use new unwinder for offline in libbacktrace. 2018-01-29 10:41:11 -08:00
BacktraceLog.h liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
BacktraceMap.cpp procinfo: Read inode number from /proc/<pid>/maps 2019-02-11 01:38:08 +00:00
BacktracePtrace.cpp Move libbacktrace off cutils. 2018-07-11 13:55:07 -07:00
BacktracePtrace.h Change all uintptr_t to uint64_t in API. 2018-01-18 17:26:20 -08:00
BacktraceTest.h Load libbacktrace_test.so explicitly. 2018-10-03 12:42:38 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
ThreadEntry.cpp Use async safe logging in signal handlers. 2017-05-04 17:15:17 -07:00
ThreadEntry.h Allow calling GetFunctionName before unwinding. 2017-03-21 14:21:49 -07:00
UnwindMap.cpp Change all uintptr_t to uint64_t in API. 2018-01-18 17:26:20 -08:00
UnwindMap.h Change all uintptr_t to uint64_t in API. 2018-01-18 17:26:20 -08:00
UnwindStack.cpp Move to the libc++ demangler. 2019-07-18 17:57:04 -07:00
UnwindStack.h Internalize subclasses of Memory 2019-06-11 12:09:18 -07:00
UnwindStackMap.cpp Internalize subclasses of Memory 2019-06-11 12:09:18 -07:00
UnwindStackMap.h Internalize subclasses of Memory 2019-06-11 12:09:18 -07:00