Merge split DWARF inputs into Out, optionally writing the package.

Synopsis

Declared in <llvm/DWP/DWP.h>

Error
write(
    DWPWriter& Out,
    ArrayRef<std::string> Inputs,
    OnCuIndexOverflow OverflowOptValue,
    Dwarf64StrOffsetsPromotion StrOffsetsOptValue,
    raw_pwrite_stream* OS = nullptr);

Return Value

Success, or an error describing why the merge or write failed.

Parameters

Name

Description

Out

Writer that accumulates section contributions.

Inputs

Paths to input .dwo / .dwp object files.

OverflowOptValue

Policy when CU/TU index offsets overflow 4 GiB.

StrOffsetsOptValue

Policy for promoting .debug_str_offsets to DWARF64.

OS

Optional stream; when non‐null, write the finished package to it.

Created with MrDocs