Parse YAMLString and emit all non-empty DWARF sections it describes.
Declared in <llvm/ObjectYAML/DWARFEmitter.h>
Expected<StringMap<std::unique_ptr<MemoryBuffer>>>
emitDebugSections(
StringRef YAMLString,
bool IsLittleEndian = sys::IsLittleEndianHost,
bool Is64BitAddrSize = true);
A map from section name to buffer, or an error on failure.
| Name | Description |
|---|---|
| YAMLString | YAML text describing DWARF debug sections. |
| IsLittleEndian | Whether to emit little-endian DWARF. |
| Is64BitAddrSize | Whether target addresses are 64-bit. |