diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-14 15:39:25 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-14 15:39:25 +0000 |
commit | 1eafc0458f4bb4547fe78c62b78312ad4f719c38 (patch) | |
tree | db247ebc1d3d05750e31ef4b162cf9ab4af9ddef /ELF/InputSection.h | |
parent | b047fead11133644be3dbae34b85be39ce2819e9 (diff) |
Notes
Diffstat (limited to 'ELF/InputSection.h')
-rw-r--r-- | ELF/InputSection.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ELF/InputSection.h b/ELF/InputSection.h index fc7a7fb60973..3f3a055dcc33 100644 --- a/ELF/InputSection.h +++ b/ELF/InputSection.h @@ -138,22 +138,12 @@ public: // section. uintX_t getOffset(uintX_t Offset) const; - // ELF supports ZLIB-compressed section. - // Returns true if the section is compressed. - bool isCompressed() const; void uncompress(); // Returns a source location string. Used to construct an error message. std::string getLocation(uintX_t Offset); void relocate(uint8_t *Buf, uint8_t *BufEnd); - -private: - std::pair<ArrayRef<uint8_t>, uint64_t> - getElfCompressedData(ArrayRef<uint8_t> Data); - - std::pair<ArrayRef<uint8_t>, uint64_t> - getRawCompressedData(ArrayRef<uint8_t> Data); }; // SectionPiece represents a piece of splittable section contents. |