addStream overloads

Synopses

Declared in <llvm/DebugInfo/MSF/MSFBuilder.h>

Add a stream that occupies any available blocks.

Expected<uint32_t>
addStream(uint32_t Size);

Add a stream that occupies a specific list of blocks.

Return Value

  • The stream index on success, or an error if allocation fails.

  • The stream index on success, or an error if the blocks cannot be assigned.

Parameters

Name

Description

Size

The size in bytes of the stream to add.

Blocks

The block indices the stream should occupy.

Created with MrDocs