diff options
Diffstat (limited to 'src/common/linux/dump_symbols.cc')
-rw-r--r-- | src/common/linux/dump_symbols.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/linux/dump_symbols.cc b/src/common/linux/dump_symbols.cc index 64fcb34b..a7888189 100644 --- a/src/common/linux/dump_symbols.cc +++ b/src/common/linux/dump_symbols.cc @@ -52,10 +52,8 @@ #include "common/linux/dump_symbols.h" #include "common/linux/file_id.h" -#include "common/linux/guid_creator.h" #include "common/linux/module.h" #include "common/linux/stabs_reader.h" -#include "processor/scoped_ptr.h" // This namespace contains helper functions. namespace { @@ -82,7 +80,7 @@ static std::string Demangle(const std::string &mangled) { // Fix offset into virtual address by adding the mapped base into offsets. // Make life easier when want to find something by offset. static void FixAddress(void *obj_base) { - ElfW(Word) base = reinterpret_cast<ElfW(Word)>(obj_base); + ElfW(Addr) base = reinterpret_cast<ElfW(Addr)>(obj_base); ElfW(Ehdr) *elf_header = static_cast<ElfW(Ehdr) *>(obj_base); elf_header->e_phoff += base; elf_header->e_shoff += base; |