summaryrefslogtreecommitdiff
path: root/libunwindstack/include/unwindstack/ElfInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'libunwindstack/include/unwindstack/ElfInterface.h')
-rw-r--r--libunwindstack/include/unwindstack/ElfInterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libunwindstack/include/unwindstack/ElfInterface.h b/libunwindstack/include/unwindstack/ElfInterface.h
index 9b911a0..c40c1fb 100644
--- a/libunwindstack/include/unwindstack/ElfInterface.h
+++ b/libunwindstack/include/unwindstack/ElfInterface.h
@@ -57,6 +57,7 @@ enum : uint8_t {
struct ElfTypes32 {
using AddressType = uint32_t;
+ using Chdr = Elf32_Chdr;
using Dyn = Elf32_Dyn;
using Ehdr = Elf32_Ehdr;
using Nhdr = Elf32_Nhdr;
@@ -67,6 +68,7 @@ struct ElfTypes32 {
struct ElfTypes64 {
using AddressType = uint64_t;
+ using Chdr = Elf64_Chdr;
using Dyn = Elf64_Dyn;
using Ehdr = Elf64_Ehdr;
using Nhdr = Elf64_Nhdr;
@@ -184,6 +186,7 @@ template <typename ElfTypes>
class ElfInterfaceImpl : public ElfInterface {
public:
using AddressType = typename ElfTypes::AddressType;
+ using ChdrType = typename ElfTypes::Chdr;
using DynType = typename ElfTypes::Dyn;
using EhdrType = typename ElfTypes::Ehdr;
using NhdrType = typename ElfTypes::Nhdr;