aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-10-03 18:07:18 +0000
committerRui Ueyama <ruiu@google.com>2014-10-03 18:07:18 +0000
commit1af08658719a6244c3de9dd301f89f1e6243387e (patch)
tree102a2f02ab20db742f34a04f16db045dfca68a48 /llvm/lib/Object/COFFObjectFile.cpp
parent9098fee6905d407723a7e624e31087554fab662c (diff)
downloadllvm-1af08658719a6244c3de9dd301f89f1e6243387e.zip
llvm-1af08658719a6244c3de9dd301f89f1e6243387e.tar.gz
llvm-1af08658719a6244c3de9dd301f89f1e6243387e.tar.bz2
llvm-readobj: print out the fields of the COFF delay-import table
llvm-svn: 218996
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
-rw-r--r--llvm/lib/Object/COFFObjectFile.cpp6
1 files changed, 6 insertions, 0 deletions
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;