summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objdump
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-07-31 19:25:21 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-07-31 19:25:21 +0000
commit1c0aa04e7ee73046d43091510ab674605d2d8b7d (patch)
treee3492e028a3c6b04e912a5b03e69880e20e1a9eb /llvm/tools/llvm-objdump
parent26bdcaf4d216f2eadfd2b7ec86382f253daf265e (diff)
downloadbcm5719-llvm-1c0aa04e7ee73046d43091510ab674605d2d8b7d.tar.gz
bcm5719-llvm-1c0aa04e7ee73046d43091510ab674605d2d8b7d.zip
[COFF] Remove a duplicate import_directory_table_entry definition
We had import_directory_table_entry and coff_import_directory_table_entry, remove one. Also, factor out the logic which determins if a descriptor is a terminator. llvm-svn: 277296
Diffstat (limited to 'llvm/tools/llvm-objdump')
-rw-r--r--llvm/tools/llvm-objdump/COFFDump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-objdump/COFFDump.cpp b/llvm/tools/llvm-objdump/COFFDump.cpp
index 3ec6a1f7375..b7ab86024b4 100644
--- a/llvm/tools/llvm-objdump/COFFDump.cpp
+++ b/llvm/tools/llvm-objdump/COFFDump.cpp
@@ -353,7 +353,7 @@ static void printImportTables(const COFFObjectFile *Obj) {
return;
outs() << "The Import Tables:\n";
for (const ImportDirectoryEntryRef &DirRef : Obj->import_directories()) {
- const import_directory_table_entry *Dir;
+ const coff_import_directory_table_entry *Dir;
StringRef Name;
if (DirRef.getImportTableEntry(Dir)) return;
if (DirRef.getName(Name)) return;
OpenPOWER on IntegriCloud