summaryrefslogtreecommitdiff
path: root/libunwindstack/include/unwindstack
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2021-02-14 20:37:12 +0000
committerDavid Srbecky <dsrbecky@google.com>2021-03-09 21:36:13 +0000
commit12b8ffba2b829535edb1534fba2f223480e15847 (patch)
tree158c654473511b528d30312afe3f83b29fc669b8 /libunwindstack/include/unwindstack
parentd7f2022b9e04baa0d49a3aa1bb5f1e238b86cc4d (diff)
downloadunwinding-12b8ffba2b829535edb1534fba2f223480e15847.tar.gz
Rename JitDebug::GetElf and DexFiles::GetDexFile
Trivial rename separated from future CL. The two interfaces are almost identical. Bring the API closer so we can share code. Test: libunwindstack_test Change-Id: I5263b3d2a50ee0b32a07968f426c1513b4c540bf
Diffstat (limited to 'libunwindstack/include/unwindstack')
-rw-r--r--libunwindstack/include/unwindstack/DexFiles.h2
-rw-r--r--libunwindstack/include/unwindstack/JitDebug.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libunwindstack/include/unwindstack/DexFiles.h b/libunwindstack/include/unwindstack/DexFiles.h
index 67a9640..105b1c0 100644
--- a/libunwindstack/include/unwindstack/DexFiles.h
+++ b/libunwindstack/include/unwindstack/DexFiles.h
@@ -42,7 +42,7 @@ class DexFiles : public Global {
DexFiles(std::shared_ptr<Memory>& memory, std::vector<std::string>& search_libs);
virtual ~DexFiles();
- DexFile* GetDexFile(uint64_t dex_file_offset, MapInfo* info);
+ DexFile* Find(uint64_t dex_file_offset, MapInfo* info);
void GetMethodInformation(Maps* maps, MapInfo* info, uint64_t dex_pc, std::string* method_name,
uint64_t* method_offset);
diff --git a/libunwindstack/include/unwindstack/JitDebug.h b/libunwindstack/include/unwindstack/JitDebug.h
index 8b7b4b5..2090f3f 100644
--- a/libunwindstack/include/unwindstack/JitDebug.h
+++ b/libunwindstack/include/unwindstack/JitDebug.h
@@ -40,7 +40,7 @@ class JitDebug : public Global {
JitDebug(std::shared_ptr<Memory>& memory, std::vector<std::string>& search_libs);
virtual ~JitDebug();
- Elf* GetElf(Maps* maps, uint64_t pc);
+ Elf* Find(Maps* maps, uint64_t pc);
private:
void Init(Maps* maps);