mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Start adding thin archive support.
This is just sufficient for 'ar t' to work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224307 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -84,7 +84,7 @@ public:
|
||||
return getHeader()->getAccessMode();
|
||||
}
|
||||
/// \return the size of the archive member without the header or padding.
|
||||
uint64_t getSize() const { return Data.size() - StartOfFile; }
|
||||
uint64_t getSize() const;
|
||||
|
||||
StringRef getBuffer() const {
|
||||
return StringRef(Data.data() + StartOfFile, getSize());
|
||||
@ -173,9 +173,7 @@ public:
|
||||
K_COFF
|
||||
};
|
||||
|
||||
Kind kind() const {
|
||||
return Format;
|
||||
}
|
||||
Kind kind() const { return (Kind)Format; }
|
||||
|
||||
child_iterator child_begin(bool SkipInternal = true) const;
|
||||
child_iterator child_end() const;
|
||||
@ -201,7 +199,8 @@ private:
|
||||
child_iterator SymbolTable;
|
||||
child_iterator StringTable;
|
||||
child_iterator FirstRegular;
|
||||
Kind Format;
|
||||
unsigned Format : 2;
|
||||
unsigned IsThin : 1;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user