summaryrefslogtreecommitdiffstats
path: root/libbacktrace
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-01-31 19:05:19 -0800
committerChristopher Ferris <cferris@google.com>2018-02-02 15:03:00 -0800
commit7747b60faa5dcfd43d920c1e60abdab1150aab32 (patch)
tree87d6249b19071be18cdb079980b09997369ada14 /libbacktrace
parent4819edf4fc15264cae0d94fbda5482b2480e99b9 (diff)
downloadsystem_core-7747b60faa5dcfd43d920c1e60abdab1150aab32.tar.gz
system_core-7747b60faa5dcfd43d920c1e60abdab1150aab32.tar.bz2
system_core-7747b60faa5dcfd43d920c1e60abdab1150aab32.zip
Load dex files from ART-specific data structure.
Fixes cdex which was recently changed to have shared data section, which means the DEX PC cannot be used to find the right symbol, as the bytecode is no longer within the dex file, and in-fact, we might have to scan multiple dex files to find the method. Bug: 72520014 Test: testrunner.py --host --cdex-none -t 137 Test: testrunner.py --host --cdex-fast -t 137 Test: All unit tests pass. Change-Id: I80265d05ad69dd9cefbe3f8a75e4cd349002af5e
Diffstat (limited to 'libbacktrace')
-rw-r--r--libbacktrace/UnwindStackMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/UnwindStackMap.cpp b/libbacktrace/UnwindStackMap.cpp
index 1622e30d4..6dcc6210f 100644
--- a/libbacktrace/UnwindStackMap.cpp
+++ b/libbacktrace/UnwindStackMap.cpp
@@ -46,7 +46,7 @@ bool UnwindStackMap::Build() {
std::vector<std::string> search_libs_{"libart.so", "libartd.so"};
jit_debug_.reset(new unwindstack::JitDebug(process_memory_, search_libs_));
#if !defined(NO_LIBDEXFILE_SUPPORT)
- dex_files_.reset(new unwindstack::DexFiles(process_memory_));
+ dex_files_.reset(new unwindstack::DexFiles(process_memory_, search_libs_));
#endif
if (!stack_maps_->Parse()) {