Package org.teavm.backend.wasm.dwarf
Class DwarfInfoWriter
- java.lang.Object
-
- org.teavm.backend.wasm.dwarf.DwarfInfoWriter
-
public class DwarfInfoWriter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DwarfInfoWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DwarfAbbreviationabbreviation(int tag, boolean hasChildren, java.util.function.Consumer<Blob> blob)voidbuild(Blob target)voidbuildAbbreviations(Blob target)DwarfInfoWriteremptyTag()DwarfInfoWritermark(DwarfPlaceholder placeholder)Markermarker()DwarfPlaceholderplaceholder(int size)DwarfInfoWriterref(DwarfPlaceholder placeholder, DwarfPlaceholderWriter writer)DwarfInfoWriterskip(int count)DwarfInfoWritertag(DwarfAbbreviation abbreviation)DwarfInfoWriterwrite(byte[] data)DwarfInfoWriterwrite(byte[] data, int offset, int limit)DwarfInfoWriterwriteByte(int value)DwarfInfoWriterwriteInt(int value)DwarfInfoWriterwriteLEB(int value)DwarfInfoWriterwriteShort(int value)
-
-
-
Method Detail
-
write
public DwarfInfoWriter write(byte[] data)
-
write
public DwarfInfoWriter write(byte[] data, int offset, int limit)
-
writeInt
public DwarfInfoWriter writeInt(int value)
-
writeShort
public DwarfInfoWriter writeShort(int value)
-
writeByte
public DwarfInfoWriter writeByte(int value)
-
writeLEB
public DwarfInfoWriter writeLEB(int value)
-
skip
public DwarfInfoWriter skip(int count)
-
marker
public Marker marker()
-
abbreviation
public DwarfAbbreviation abbreviation(int tag, boolean hasChildren, java.util.function.Consumer<Blob> blob)
-
tag
public DwarfInfoWriter tag(DwarfAbbreviation abbreviation)
-
emptyTag
public DwarfInfoWriter emptyTag()
-
placeholder
public DwarfPlaceholder placeholder(int size)
-
ref
public DwarfInfoWriter ref(DwarfPlaceholder placeholder, DwarfPlaceholderWriter writer)
-
mark
public DwarfInfoWriter mark(DwarfPlaceholder placeholder)
-
buildAbbreviations
public void buildAbbreviations(Blob target)
-
build
public void build(Blob target)
-
-