mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-19 14:00:09 +00:00
[ELF] Move InputSectionBase::rawData member [NFC]
This commit is contained in:
parent
c4172c751a
commit
ebc2529206
@ -149,6 +149,8 @@ public:
|
|||||||
bytesDropped -= num;
|
bytesDropped -= num;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mutable ArrayRef<uint8_t> rawData;
|
||||||
|
|
||||||
void trim() {
|
void trim() {
|
||||||
if (bytesDropped) {
|
if (bytesDropped) {
|
||||||
rawData = rawData.drop_back(bytesDropped);
|
rawData = rawData.drop_back(bytesDropped);
|
||||||
@ -220,8 +222,6 @@ public:
|
|||||||
return llvm::makeArrayRef<T>((const T *)rawData.data(), s / sizeof(T));
|
return llvm::makeArrayRef<T>((const T *)rawData.data(), s / sizeof(T));
|
||||||
}
|
}
|
||||||
|
|
||||||
mutable ArrayRef<uint8_t> rawData;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
template <typename ELFT>
|
template <typename ELFT>
|
||||||
void parseCompressedHeader();
|
void parseCompressedHeader();
|
||||||
|
Loading…
Reference in New Issue
Block a user