LLDB mainline
LZMA.h
Go to the documentation of this file.
1//===-- LZMA.h --------------------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_HOST_LZMA_H
10#define LLDB_HOST_LZMA_H
11
12#include "llvm/ADT/ArrayRef.h"
13
14namespace llvm {
15class Error;
16} // End of namespace llvm
17
18namespace lldb_private {
19
20namespace lzma {
21
22bool isAvailable();
23
24llvm::Expected<uint64_t>
25getUncompressedSize(llvm::ArrayRef<uint8_t> InputBuffer);
26
27llvm::Error uncompress(llvm::ArrayRef<uint8_t> InputBuffer,
28 llvm::SmallVectorImpl<uint8_t> &Uncompressed);
29
30} // End of namespace lzma
31
32} // End of namespace lldb_private
33
34#endif // LLDB_HOST_LZMA_H
llvm::Error Error
llvm::Expected< uint64_t > getUncompressedSize(llvm::ArrayRef< uint8_t > InputBuffer)
Definition: LZMA.cpp:24
bool isAvailable()
Definition: LZMA.cpp:22
llvm::Error uncompress(llvm::ArrayRef< uint8_t > InputBuffer, llvm::SmallVectorImpl< uint8_t > &Uncompressed)
Definition: LZMA.cpp:28
A class that represents a running process on the host machine.
Definition: SBAttachInfo.h:14
Definition: Debugger.h:53