public final class CVSymbolSectionImpl extends BasicProgbitsSectionImpl
| Modifier and Type | Method and Description |
|---|---|
void |
createContent(org.graalvm.compiler.debug.DebugContext debugContext) |
protected void |
enableLog(org.graalvm.compiler.debug.DebugContext debugContext) |
protected CVDebugInfo |
getCvDebugInfo() |
protected org.graalvm.compiler.debug.DebugContext |
getDebugContext() |
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(String format,
Object... args) |
int |
markRelocationSite(byte[] buffer,
int initialPos,
String symbolName)
Mark an offset:segment relocation site for linker or loader fixup.
|
int |
markRelocationSite(byte[] buffer,
int initialPos,
String symbolName,
long offset)
Mark an offset:segment + offset relocation site for linker or loader fixup.
|
protected void |
verboseLog(String format,
Object... args) |
void |
writeContent(org.graalvm.compiler.debug.DebugContext debugContext) |
getAlignment, getContent, getElement, getElements, getMemSize, getOrCreateRelocationElement, getOrDecideSize, isLoadable, markRelocationSite, markRelocationSite, setContentgetDecisions, getOrDecideOffset, getOrDecideVaddr, getOwner, isReferenceable, setElementclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDecisions, getOrDecideOffset, getOrDecideVaddr, isReferenceable, setElementpublic String getSectionName()
public void createContent(org.graalvm.compiler.debug.DebugContext debugContext)
public void writeContent(org.graalvm.compiler.debug.DebugContext debugContext)
public int markRelocationSite(byte[] buffer,
int initialPos,
String symbolName)
buffer - output bufferinitialPos - position of fixup in output buffersymbolName - symbolname to referencepublic int markRelocationSite(byte[] buffer,
int initialPos,
String symbolName,
long offset)
buffer - output bufferinitialPos - position of fixup in output buffersymbolName - symbolname to referenceoffset - offset from symbolprotected CVDebugInfo getCvDebugInfo()
protected org.graalvm.compiler.debug.DebugContext getDebugContext()
protected void enableLog(org.graalvm.compiler.debug.DebugContext debugContext)
public byte[] getOrDecideContent(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, byte[] contentHint)
ElementImplgetOrDecideContent in interface ElementImplgetOrDecideContent in class BasicProgbitsSectionImplpublic Set<BuildDependency> getDependencies(Map<ObjectFile.Element,LayoutDecisionMap> decisions)
ElementImplgetDependencies in interface ElementImplgetDependencies in class BasicProgbitsSectionImpl