projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e0742f
)
[Object][ELF] Add a way to get the dynamic symbol table section.
author
Michael J. Spencer
<bigcheesegs@gmail.com>
Thu, 7 Feb 2013 23:37:58 +0000
(23:37 +0000)
committer
Michael J. Spencer
<bigcheesegs@gmail.com>
Thu, 7 Feb 2013 23:37:58 +0000
(23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174682
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Object/ELF.h
patch
|
blob
|
history
diff --git
a/include/llvm/Object/ELF.h
b/include/llvm/Object/ELF.h
index bcd5b11f208480785b58cc00cb05409b1f3bc837..00b8af949f8d4bc56085838f115e39595a872982 100644
(file)
--- a/
include/llvm/Object/ELF.h
+++ b/
include/llvm/Object/ELF.h
@@
-702,6
+702,10
@@
public:
virtual library_iterator begin_libraries_needed() const;
virtual library_iterator end_libraries_needed() const;
+ const Elf_Shdr *getDynamicSymbolTableSectionHeader() const {
+ return SymbolTableSections[0];
+ }
+
Elf_Dyn_iterator begin_dynamic_table() const;
Elf_Dyn_iterator end_dynamic_table() const;