mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-24 12:29:33 +00:00
Object/COFF: Add accessors for import header bitfields.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
34afa06cf2
commit
e498b5094c
@ -458,6 +458,8 @@ struct coff_import_header {
|
||||
support::ulittle32_t SizeOfData;
|
||||
support::ulittle16_t OrdinalHint;
|
||||
support::ulittle16_t TypeInfo;
|
||||
int getType() const { return TypeInfo & 0x3; }
|
||||
int getNameType() const { return (TypeInfo & 0x7) >> 2; }
|
||||
};
|
||||
|
||||
struct coff_import_directory_table_entry {
|
||||
|
Loading…
x
Reference in New Issue
Block a user