decompress overloads

Synopses

Declared in <llvm/Support/Compression.h>

Decompress Input using the debug‐info compression format T into Output, which is resized to UncompressedSize bytes.

Error
decompress(
    DebugCompressionType T,
    ArrayRef<uint8_t> Input,
    SmallVectorImpl<uint8_t>& Output,
    size_t UncompressedSize);

Decompress Input using debug compression type T into Output.

Error
decompress(
    DebugCompressionType T,
    ArrayRef<uint8_t> Input,
    uint8_t* Output,
    size_t UncompressedSize);

Decompress Input using compression format F into Output, which is resized to UncompressedSize bytes.

Error
decompress(
    Format F,
    ArrayRef<uint8_t> Input,
    SmallVectorImpl<uint8_t>& Output,
    size_t UncompressedSize);

Return Value

Success, or an error describing the decompression failure.

Parameters

Name

Description

T

Debug compression type; must not be DebugCompressionType::None.

Input

Compressed bytes.

Output

Destination; resized to UncompressedSize bytes.

UncompressedSize

Uncompressed size in bytes.

F

Compression format of Input.

Created with MrDocs