llvm::DWARFYAML::emitDebugRanges

Emit the .debug_ranges section described by DI to OS.

Synopsis

Declared in <llvm/ObjectYAML/DWARFEmitter.h>

Error
emitDebugRanges(
    raw_ostream& OS,
    Data const& DI);

Return Value

Success, or an error if emission fails.

Parameters

NameDescription
OSOutput stream that receives the binary section contents.
DIYAML DWARF data that provides the section to emit.