Overwrite a ULEB128 value and keep the original length.

Synopsis

Declared in <llvm/Support/LEB128.h>

uint64_t
overwriteULEB128(
    uint8_t* bufLoc,
    uint64_t val);

Return Value

The remaining bits of val after writing the final byte.

Parameters

Name

Description

bufLoc

Pointer to the existing ULEB128 encoding to overwrite.

val

The new unsigned value to encode in place.

Created with MrDocs