mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-18 07:52:35 +00:00
Rename data -> Data
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218916 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d49ad0cbc
commit
7bd81ba05b
@ -164,18 +164,18 @@ struct import_directory_table_entry {
|
||||
|
||||
template <typename IntTy>
|
||||
struct import_lookup_table_entry {
|
||||
IntTy data;
|
||||
IntTy Data;
|
||||
|
||||
bool isOrdinal() const { return data < 0; }
|
||||
bool isOrdinal() const { return Data < 0; }
|
||||
|
||||
uint16_t getOrdinal() const {
|
||||
assert(isOrdinal() && "ILT entry is not an ordinal!");
|
||||
return data & 0xFFFF;
|
||||
return Data & 0xFFFF;
|
||||
}
|
||||
|
||||
uint32_t getHintNameRVA() const {
|
||||
assert(!isOrdinal() && "ILT entry is not a Hint/Name RVA!");
|
||||
return data & 0xFFFFFFFF;
|
||||
return Data & 0xFFFFFFFF;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -322,7 +322,7 @@ static void printImportTables(const COFFObjectFile *Obj) {
|
||||
const import_lookup_table_entry32 *entry;
|
||||
if (I->getImportLookupEntry(entry))
|
||||
return;
|
||||
for (; entry->data; ++entry) {
|
||||
for (; entry->Data; ++entry) {
|
||||
if (entry->isOrdinal()) {
|
||||
outs() << format(" % 6d\n", entry->getOrdinal());
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user