summaryrefslogtreecommitdiff
path: root/libunwindstack/Symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'libunwindstack/Symbols.h')
-rw-r--r--libunwindstack/Symbols.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libunwindstack/Symbols.h b/libunwindstack/Symbols.h
index 689144b..7d239c1 100644
--- a/libunwindstack/Symbols.h
+++ b/libunwindstack/Symbols.h
@@ -47,6 +47,9 @@ class Symbols {
bool GetName(uint64_t addr, uint64_t load_bias, Memory* elf_memory, std::string* name,
uint64_t* func_offset);
+ template <typename SymType>
+ bool GetGlobal(Memory* elf_memory, const std::string& name, uint64_t* memory_address);
+
void ClearCache() {
symbols_.clear();
cur_offset_ = offset_;