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, setContentgetDecisions, getOrDecideOffset, getOrDecideVaddr, getOwner, isReferenceable, setElementprotected 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.ElementImplgetDependencies in class com.oracle.objectfile.BasicProgbitsSectionImplpublic byte[] getOrDecideContent(Map<com.oracle.objectfile.ObjectFile.Element,com.oracle.objectfile.LayoutDecisionMap> alreadyDecided, byte[] contentHint)
getOrDecideContent in interface com.oracle.objectfile.ElementImplgetOrDecideContent in class com.oracle.objectfile.BasicProgbitsSectionImplprotected 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)