|
LLVM 24.0.0git
|
#include "llvm/Support/Compression.h"#include "llvm/ADT/ScopeExit.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringRef.h"#include "llvm/Config/config.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/Error.h"#include "llvm/Support/ErrorHandling.h"#include <limits>#include <optional>Go to the source code of this file.
Functions | |
| static bool | isZlibHeader (ArrayRef< uint8_t > Input) |
| static bool | isZstdMagic (ArrayRef< uint8_t > Input) |
| static std::optional< Format > | identifyFormat (ArrayRef< uint8_t > Input) |
Definition at line 59 of file Compression.cpp.
References isZlibHeader(), isZstdMagic(), llvm::compression::Zlib, and llvm::compression::Zstd.
Referenced by llvm::compression::decompress(), and llvm::compression::getReasonIfUnsupported().
Definition at line 42 of file Compression.cpp.
Referenced by identifyFormat().
Definition at line 53 of file Compression.cpp.
References llvm::ArrayRef().
Referenced by identifyFormat().