Construct a new Wasm writer that emits split DWARF to a separate stream.

Synopsis

Declared in <llvm/MC/MCWasmObjectWriter.h>

std::unique_ptr<MCObjectWriter>
createWasmDwoObjectWriter(
    std::unique_ptr<MCWasmObjectTargetWriter> MOTW,
    raw_pwrite_stream& OS,
    raw_pwrite_stream& DwoOS);

Return Value

The constructed object writer.

Parameters

Name

Description

MOTW

‐ The target specific Wasm writer subclass.

OS

‐ The stream to write the main object to.

DwoOS

‐ The stream to write the DWO object to.

Created with MrDocs