diff options
author | Rui Ueyama <ruiu@google.com> | 2013-07-19 23:23:29 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-07-19 23:23:29 +0000 |
commit | 2f6c0484d68270f09eecac03b7e56053153203f3 (patch) | |
tree | 2fb73f45fe1c5ad6f2b17d3c4532f1d5a7c1f160 /include | |
parent | 73d9653cecb407ce714dc3fdf31198a5a67eee2f (diff) | |
download | external_llvm-2f6c0484d68270f09eecac03b7e56053153203f3.zip external_llvm-2f6c0484d68270f09eecac03b7e56053153203f3.tar.gz external_llvm-2f6c0484d68270f09eecac03b7e56053153203f3.tar.bz2 |
Retry submitting r186623: COFFDumper: Dump data directory entries.
The original change was rolled back in r186627 because of test
failures on the big endian machine. I believe I fixed the issue
so re-submitting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Object/COFF.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h index c7c5c7f..2190067 100644 --- a/include/llvm/Object/COFF.h +++ b/include/llvm/Object/COFF.h @@ -198,6 +198,7 @@ class COFFObjectFile : public ObjectFile { private: const coff_file_header *COFFHeader; const pe32_header *PE32Header; + const data_directory *DataDirectory; const coff_section *SectionTable; const coff_symbol *SymbolTable; const char *StringTable; @@ -283,6 +284,7 @@ public: error_code getHeader(const coff_file_header *&Res) const; error_code getCOFFHeader(const coff_file_header *&Res) const; error_code getPE32Header(const pe32_header *&Res) const; + error_code getDataDirectory(uint32_t index, const data_directory *&Res) const; error_code getSection(int32_t index, const coff_section *&Res) const; error_code getSymbol(uint32_t index, const coff_symbol *&Res) const; template <typename T> |