Go to the documentation of this file.
9 #ifndef LLVM_OBJECT_DECOMPRESSOR_H
10 #define LLVM_OBJECT_DECOMPRESSOR_H
29 bool IsLE,
bool Is64Bit);
34 Out.resize(DecompressedSize);
47 Error consumeCompressedHeader(
bool Is64Bit,
bool IsLittleEndian);
57 #endif // LLVM_OBJECT_DECOMPRESSOR_H
This is an optimization pass for GlobalISel generic memory operations.
Tagged union holding either a T or a Error.
Error resizeAndDecompress(T &Out)
Resize the buffer and uncompress section data into it.
bar al al movzbl eax ret Missed when stored in a memory object
static Expected< Decompressor > create(StringRef Name, StringRef Data, bool IsLE, bool Is64Bit)
Create decompressor object.
Error decompress(MutableArrayRef< uint8_t > Output)
Uncompress section data to raw buffer provided.
StringRef - Represent a constant reference to a string, i.e.
Lightweight error class with error context and mandatory checking.
uint64_t getDecompressedSize()
Return memory buffer size required for decompression.
Decompressor helps to handle decompression of compressed sections.