public abstract static class NativeBootImage.NativeTextSectionImpl
extends com.oracle.objectfile.BasicProgbitsSectionImpl
Modifier and Type | Field and Description |
---|---|
protected NativeImageCodeCache |
codeCache |
protected com.oracle.objectfile.ObjectFile |
objectFile |
protected RelocatableBuffer |
textBuffer |
Modifier | Constructor and Description |
---|---|
protected |
NativeTextSectionImpl(RelocatableBuffer relocatableBuffer,
com.oracle.objectfile.ObjectFile objectFile,
NativeImageCodeCache codeCache) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
defineMethodSymbol(String name,
boolean global,
com.oracle.objectfile.ObjectFile.Element section,
HostedMethod method,
org.graalvm.compiler.code.CompilationResult result) |
static NativeBootImage.NativeTextSectionImpl |
factory(RelocatableBuffer relocatableBuffer,
com.oracle.objectfile.ObjectFile objectFile,
NativeImageCodeCache codeCache) |
Set<com.oracle.objectfile.BuildDependency> |
getDependencies(Map<com.oracle.objectfile.ObjectFile.Element,com.oracle.objectfile.LayoutDecisionMap> decisions) |
byte[] |
getOrDecideContent(Map<com.oracle.objectfile.ObjectFile.Element,com.oracle.objectfile.LayoutDecisionMap> alreadyDecided,
byte[] contentHint) |
protected void |
writeTextSection(org.graalvm.compiler.debug.DebugContext debug,
com.oracle.objectfile.ObjectFile.Section textSection,
List<HostedMethod> entryPoints) |
getAlignment, getContent, getElement, getElements, getMemSize, getOrCreateRelocationElement, getOrDecideSize, isLoadable, markRelocationSite, markRelocationSite, setContent
getDecisions, getOrDecideOffset, getOrDecideVaddr, getOwner, isReferenceable, setElement
protected final RelocatableBuffer textBuffer
protected final com.oracle.objectfile.ObjectFile objectFile
protected final NativeImageCodeCache codeCache
protected NativeTextSectionImpl(RelocatableBuffer relocatableBuffer, com.oracle.objectfile.ObjectFile objectFile, NativeImageCodeCache codeCache)
public static NativeBootImage.NativeTextSectionImpl factory(RelocatableBuffer relocatableBuffer, com.oracle.objectfile.ObjectFile objectFile, NativeImageCodeCache codeCache)
public Set<com.oracle.objectfile.BuildDependency> getDependencies(Map<com.oracle.objectfile.ObjectFile.Element,com.oracle.objectfile.LayoutDecisionMap> decisions)
getDependencies
in interface com.oracle.objectfile.ElementImpl
getDependencies
in class com.oracle.objectfile.BasicProgbitsSectionImpl
public byte[] getOrDecideContent(Map<com.oracle.objectfile.ObjectFile.Element,com.oracle.objectfile.LayoutDecisionMap> alreadyDecided, byte[] contentHint)
getOrDecideContent
in interface com.oracle.objectfile.ElementImpl
getOrDecideContent
in class com.oracle.objectfile.BasicProgbitsSectionImpl
protected abstract void defineMethodSymbol(String name, boolean global, com.oracle.objectfile.ObjectFile.Element section, HostedMethod method, org.graalvm.compiler.code.CompilationResult result)
protected void writeTextSection(org.graalvm.compiler.debug.DebugContext debug, com.oracle.objectfile.ObjectFile.Section textSection, List<HostedMethod> entryPoints)