llvm-objdump/COFF: Print ordinal base number.
llvm-svn: 199518
This commit is contained in:
@@ -959,6 +959,12 @@ error_code ExportDirectoryEntryRef::getDllName(StringRef &Result) const {
|
||||
return object_error::success;
|
||||
}
|
||||
|
||||
// Returns the starting ordinal number.
|
||||
error_code ExportDirectoryEntryRef::getOrdinalBase(uint32_t &Result) const {
|
||||
Result = ExportTable->OrdinalBase;
|
||||
return object_error::success;
|
||||
}
|
||||
|
||||
// Returns the export ordinal of the current export symbol.
|
||||
error_code ExportDirectoryEntryRef::getOrdinal(uint32_t &Result) const {
|
||||
Result = ExportTable->OrdinalBase + Index;
|
||||
|
||||
Reference in New Issue
Block a user