public class DwarfInfoSectionImpl extends DwarfSectionImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
OBJECT_HEADER_STRUCT_NAME
The name of a special DWARF struct type used to model an object header.
|
protected static String |
TARGET_SECTION_NAME
The debug_info section depends on loc section.
|
debug, debugAddress, debugBase, debugTextBase, dwarfSections, scratch| Constructor and Description |
|---|
DwarfInfoSectionImpl(DwarfDebugInfo dwarfSections) |
| Modifier and Type | Method and Description |
|---|---|
void |
createContent()
Creates the target byte[] array used to define the section contents.
|
int |
generateContent(org.graalvm.compiler.debug.DebugContext context,
byte[] buffer) |
String |
getSectionName()
Identify this debug section by name.
|
LayoutDecision.Kind[] |
targetSectionKinds()
Identify the layout properties of the target section which need to have been decided before
the contents of this section can be created.
|
String |
targetSectionName()
Identify the section after which this debug section needs to be ordered when sizing and
creating content.
|
int |
writeAttrAccessibility(int modifiers,
byte[] buffer,
int p) |
int |
writeAttrString(String value,
byte[] buffer,
int p) |
int |
writeBuiltInUnit(org.graalvm.compiler.debug.DebugContext context,
byte[] buffer,
int p) |
void |
writeContent(org.graalvm.compiler.debug.DebugContext context)
Populates the byte[] array used to contain the section contents.
|
int |
writeHeaderType(org.graalvm.compiler.debug.DebugContext context,
HeaderTypeEntry headerTypeEntry,
byte[] buffer,
int p) |
int |
writeIndirectOopConversionExpression(boolean isHub,
byte[] buffer,
int p) |
int |
writePrimitiveType(org.graalvm.compiler.debug.DebugContext context,
PrimitiveTypeEntry primitiveTypeEntry,
byte[] buffer,
int p) |
int |
writeVoidType(org.graalvm.compiler.debug.DebugContext context,
PrimitiveTypeEntry primitiveTypeEntry,
byte[] buffer,
int p) |
contentByteArrayCreated, countUTF8Bytes, countUTF8Bytes, debugStringIndex, enableLog, formatValue, getAbstractInlineMethodIndex, getCUIndex, getDeoptCUIndex, getDependencies, getFieldDeclarationIndex, getIndirectLayoutIndex, getIndirectTypeIndex, getLayoutIndex, getLineIndex, getLinePrologueSize, getLineSectionSize, getMethodDeclarationIndex, getMethodLocalIndex, getOrDecideContent, getOrDecideSize, getPrimaryClasses, getRangeLocalIndex, getTypeIndex, getTypes, isAArch64, isLoadable, littleEndian, log, lookupType, patchLength, putByte, putInt, putLong, putRelocatableCodeOffset, putRelocatableHeapOffset, putShort, putSLEB, putULEB, putUTF8StringBytes, setAbstractInlineMethodIndex, setCUIndex, setDeoptCUIndex, setFieldDeclarationIndex, setIndirectLayoutIndex, setIndirectTypeIndex, setLayoutIndex, setLineIndex, setLinePrologueSize, setLineSectionSize, setMethodDeclarationIndex, setMethodLocalIndex, setRangeLocalIndex, setTypeIndex, uniqueDebugString, verboseLog, writeAbbrevCode, writeAttrAddress, writeAttrData1, writeAttrData2, writeAttrData4, writeAttrData8, writeAttrLocList, writeAttrNull, writeAttrRefAddr, writeAttrSecOffset, writeByte, writeFlag, writeHeapLocation, writeHeapLocationExprLoc, writeHeapLocationLocList, writeInt, writeLong, writeRelocatableCodeOffset, writeRelocatableHeapOffset, writeShort, writeSLEB, writeTag, writeULEB, writeUTF8StringBytes, writeUTF8StringBytesgetAlignment, getContent, getElement, getElements, getMemSize, getOrCreateRelocationElement, markRelocationSite, markRelocationSite, setContentgetDecisions, getOrDecideOffset, getOrDecideVaddr, getOwner, isReferenceable, setElementclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDecisions, getOrDecideOffset, getOrDecideVaddr, isReferenceable, setElementpublic static final String OBJECT_HEADER_STRUCT_NAME
protected static final String TARGET_SECTION_NAME
public DwarfInfoSectionImpl(DwarfDebugInfo dwarfSections)
public String getSectionName()
DwarfSectionImplgetSectionName in class DwarfSectionImplpublic void createContent()
DwarfSectionImplcreateContent in class DwarfSectionImplpublic void writeContent(org.graalvm.compiler.debug.DebugContext context)
DwarfSectionImplwriteContent in class DwarfSectionImplpublic int generateContent(org.graalvm.compiler.debug.DebugContext context,
byte[] buffer)
public int writeBuiltInUnit(org.graalvm.compiler.debug.DebugContext context,
byte[] buffer,
int p)
public int writePrimitiveType(org.graalvm.compiler.debug.DebugContext context,
PrimitiveTypeEntry primitiveTypeEntry,
byte[] buffer,
int p)
public int writeVoidType(org.graalvm.compiler.debug.DebugContext context,
PrimitiveTypeEntry primitiveTypeEntry,
byte[] buffer,
int p)
public int writeHeaderType(org.graalvm.compiler.debug.DebugContext context,
HeaderTypeEntry headerTypeEntry,
byte[] buffer,
int p)
public int writeAttrString(String value, byte[] buffer, int p)
public int writeAttrAccessibility(int modifiers,
byte[] buffer,
int p)
public int writeIndirectOopConversionExpression(boolean isHub,
byte[] buffer,
int p)
public String targetSectionName()
DwarfSectionImpltargetSectionName in class DwarfSectionImplpublic LayoutDecision.Kind[] targetSectionKinds()
DwarfSectionImpltargetSectionKinds in class DwarfSectionImpl