android_system_core/libbacktrace
Martin Stjernholm a2cc893044 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
2020-03-19 22:23:54 +00:00
..
include/backtrace libbacktrace: Fix clang-tidy warning 2019-09-09 18:39:08 +02:00
testdata
.clang-format
Android.bp Remove use of static libdexfile to avoid linking in ART internal code. 2020-03-19 22:23:54 +00:00
Backtrace.cpp Move to the libc++ demangler. 2019-07-18 17:57:04 -07:00
BacktraceAsyncSafeLog.h
BacktraceCurrent.cpp
BacktraceCurrent.h
BacktraceLog.h
BacktraceMap.cpp
BacktracePtrace.cpp
BacktracePtrace.h
BacktraceTest.h
OWNERS
ThreadEntry.cpp
ThreadEntry.h
UnwindMap.cpp
UnwindMap.h
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
backtrace_benchmarks.cpp
backtrace_read_benchmarks.cpp
backtrace_test.cpp
backtrace_testlib.cpp
backtrace_testlib.h