#include "llvm/Object/Decompressor.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Support/Compression.h"
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/Endian.h"
usingnamespacellvm;
usingnamespacellvm::support::endian;
usingnamespaceobject;
Expected<Decompressor> Decompressor::create(StringRef Name, StringRef Data,
bool IsLE, bool Is64Bit) { … }
Decompressor::Decompressor(StringRef Data)
: … { … }
Error Decompressor::consumeCompressedHeader(bool Is64Bit, bool IsLittleEndian) { … }
Error Decompressor::decompress(MutableArrayRef<uint8_t> Output) { … }