From 1af08658719a6244c3de9dd301f89f1e6243387e Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 3 Oct 2014 18:07:18 +0000 Subject: llvm-readobj: print out the fields of the COFF delay-import table llvm-svn: 218996 --- llvm/lib/Object/COFFObjectFile.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'llvm/lib/Object/COFFObjectFile.cpp') diff --git a/llvm/lib/Object/COFFObjectFile.cpp b/llvm/lib/Object/COFFObjectFile.cpp index e4ff074..bd70157 100644 --- a/llvm/lib/Object/COFFObjectFile.cpp +++ b/llvm/lib/Object/COFFObjectFile.cpp @@ -1179,6 +1179,12 @@ std::error_code DelayImportDirectoryEntryRef::getName(StringRef &Result) const { return object_error::success; } +std::error_code DelayImportDirectoryEntryRef:: +getDelayImportTable(const delay_import_directory_table_entry *&Result) const { + Result = Table; + return object_error::success; +} + bool ExportDirectoryEntryRef:: operator==(const ExportDirectoryEntryRef &Other) const { return ExportTable == Other.ExportTable && Index == Other.Index; -- cgit v1.1