Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:49

0001 //===-- LZMA.h --------------------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLDB_HOST_LZMA_H
0010 #define LLDB_HOST_LZMA_H
0011 
0012 #include "llvm/ADT/ArrayRef.h"
0013 
0014 namespace llvm {
0015 class Error;
0016 } // End of namespace llvm
0017 
0018 namespace lldb_private {
0019 
0020 namespace lzma {
0021     
0022 bool isAvailable();
0023 
0024 llvm::Expected<uint64_t>
0025 getUncompressedSize(llvm::ArrayRef<uint8_t> InputBuffer);
0026 
0027 llvm::Error uncompress(llvm::ArrayRef<uint8_t> InputBuffer,
0028                        llvm::SmallVectorImpl<uint8_t> &Uncompressed);
0029 
0030 } // End of namespace lzma
0031 
0032 } // End of namespace lldb_private
0033 
0034 #endif // LLDB_HOST_LZMA_H