public final class CVTypeSectionImpl extends BasicProgbitsSectionImpl
Modifier and Type | Method and Description |
---|---|
<T extends com.oracle.objectfile.pecoff.cv.CVTypeRecord> |
addOrReference(T newRecord)
Return either the caller-created instance or a matching existing instance.
|
void |
createContent(org.graalvm.compiler.debug.DebugContext debugContext) |
protected void |
enableLog(org.graalvm.compiler.debug.DebugContext context) |
Set<BuildDependency> |
getDependencies(Map<ObjectFile.Element,LayoutDecisionMap> decisions)
Implementing this method allows to declare dependencies to other Sections (i.e.
|
byte[] |
getOrDecideContent(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
byte[] contentHint)
Implement this method to deliver the content of the section.
|
String |
getSectionName() |
protected void |
log(org.graalvm.compiler.debug.DebugContext context,
String format,
Object... args) |
protected void |
verboseLog(org.graalvm.compiler.debug.DebugContext context,
String format,
Object... args) |
void |
writeContent(org.graalvm.compiler.debug.DebugContext debugContext) |
getAlignment, getContent, getElement, getElements, getMemSize, getOrCreateRelocationElement, getOrDecideSize, isLoadable, markRelocationSite, markRelocationSite, setContent
getDecisions, getOrDecideOffset, getOrDecideVaddr, getOwner, isReferenceable, setElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDecisions, getOrDecideOffset, getOrDecideVaddr, isReferenceable, setElement
public String getSectionName()
public void createContent(org.graalvm.compiler.debug.DebugContext debugContext)
public void writeContent(org.graalvm.compiler.debug.DebugContext debugContext)
public <T extends com.oracle.objectfile.pecoff.cv.CVTypeRecord> T addOrReference(T newRecord)
T
- type of new recordnewRecord
- record to add if an existing record with same hash hasn't already been addedpublic Set<BuildDependency> getDependencies(Map<ObjectFile.Element,LayoutDecisionMap> decisions)
ElementImpl
getDependencies
in interface ElementImpl
protected void enableLog(org.graalvm.compiler.debug.DebugContext context)
protected void log(org.graalvm.compiler.debug.DebugContext context, String format, Object... args)
protected void verboseLog(org.graalvm.compiler.debug.DebugContext context, String format, Object... args)
public byte[] getOrDecideContent(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, byte[] contentHint)
ElementImpl
getOrDecideContent
in interface ElementImpl
getOrDecideContent
in class BasicProgbitsSectionImpl