summaryrefslogtreecommitdiff
path: root/libbacktrace/UnwindStackMap.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-10-23 12:04:26 -0700
committerChristopher Ferris <cferris@google.com>2018-10-23 12:13:54 -0700
commite8c4ecf49e87b082610055e279f889d2d1311b71 (patch)
treeda1a1c9f1158dee9c5b646894f2c2300f7fba899 /libbacktrace/UnwindStackMap.cpp
parentb59a38d34328eb8f297b965bec84233bd7fa6a25 (diff)
Always init gnu_debugdata interface if it exists.
Every real call always sets the value to true to init the gnu_debugdata interface, so remove this parameter. Test: Builds, unit tests pass. Change-Id: I07fb3adbbd5b65b51c0dc7608561e820a5095051
Diffstat (limited to 'libbacktrace/UnwindStackMap.cpp')
-rw-r--r--libbacktrace/UnwindStackMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/UnwindStackMap.cpp b/libbacktrace/UnwindStackMap.cpp
index d2d6ab8fa..52dd44192 100644
--- a/libbacktrace/UnwindStackMap.cpp
+++ b/libbacktrace/UnwindStackMap.cpp
@@ -106,7 +106,7 @@ std::string UnwindStackMap::GetFunctionName(uint64_t pc, uint64_t* offset) {
return "";
}
- unwindstack::Elf* elf = map_info->GetElf(process_memory(), true);
+ unwindstack::Elf* elf = map_info->GetElf(process_memory());
std::string name;
uint64_t func_offset;