summaryrefslogtreecommitdiff
path: root/src/elfxx.h
diff options
context:
space:
mode:
authorBert Wesarg <bert.wesarg@tu-dresden.de>2017-02-01 22:13:05 +0100
committerDave Watson <davejwatson@fb.com>2017-02-02 08:29:17 -0800
commit1b960e54e93aace942efa0d7487032fa2434c374 (patch)
tree46a45f592777ae3443afd93c5d566aeeddffa7e9 /src/elfxx.h
parenta9857bf98b5f2bbffb85afec696e2762f4f96091 (diff)
downloadlibunwind-1b960e54e93aace942efa0d7487032fa2434c374.tar.gz
elfxx: Add helper to find a section in ELF image.
Diffstat (limited to 'src/elfxx.h')
-rw-r--r--src/elfxx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/elfxx.h b/src/elfxx.h
index cef6647b..aa08f9e3 100644
--- a/src/elfxx.h
+++ b/src/elfxx.h
@@ -54,6 +54,8 @@ extern int elf_w (get_proc_name_in_image) (unw_addr_space_t as,
unw_word_t ip,
char *buf, size_t buf_len, unw_word_t *offp);
+extern Elf_W (Shdr)* elf_w (find_section) (struct elf_image *ei, const char* secname);
+
static inline int
elf_w (valid_object) (struct elf_image *ei)
{