public class SharedLibraryViaCCBootImage extends NativeBootImageViaCC
NativeBootImage.NativeTextSectionImplAbstractBootImage.NativeImageKindmainEntryPointRWDATA_CGLOBALS_PARTITION_OFFSETcodeCache, entryPoints, heap, imageClassLoader, kind, metaAccess, nativeLibs, resultingImageSize, universe| Constructor and Description |
|---|
SharedLibraryViaCCBootImage(HostedUniverse universe,
HostedMetaAccess metaAccess,
NativeLibraries nativeLibs,
NativeImageHeap heap,
NativeImageCodeCache codeCache,
List<HostedMethod> entryPoints,
HostedMethod mainEntryPoint,
ClassLoader imageLoader) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMainEntryPoint(CCLinkerInvocation inv) |
String[] |
makeLaunchCommand(AbstractBootImage.NativeImageKind k,
String imageName,
Path binPath,
Path workPath,
Method method) |
LinkerInvocation |
write(org.graalvm.compiler.debug.DebugContext debug,
Path outputDirectory,
Path tempDirectory,
String imageName,
FeatureImpl.BeforeImageWriteAccessImpl config)
Write the image to the named file.
|
getOutputKindbuild, getOrCreateDebugObjectFile, getTextSection, globalSymbolNameForMethod, globalSymbolNameForMethod, localSymbolNameForMethod, localSymbolNameForMethod, writecreate, getBootImageKind, getCodeCache, getHeap, getImageSize, getKind, getNativeLibs, requiresCustomDebugRelocationpublic SharedLibraryViaCCBootImage(HostedUniverse universe, HostedMetaAccess metaAccess, NativeLibraries nativeLibs, NativeImageHeap heap, NativeImageCodeCache codeCache, List<HostedMethod> entryPoints, HostedMethod mainEntryPoint, ClassLoader imageLoader)
public String[] makeLaunchCommand(AbstractBootImage.NativeImageKind k, String imageName, Path binPath, Path workPath, Method method)
makeLaunchCommand in class NativeBootImageprotected void addMainEntryPoint(CCLinkerInvocation inv)
addMainEntryPoint in class NativeBootImageViaCCpublic LinkerInvocation write(org.graalvm.compiler.debug.DebugContext debug, Path outputDirectory, Path tempDirectory, String imageName, FeatureImpl.BeforeImageWriteAccessImpl config)
AbstractBootImageAbstractBootImage.getOrCreateDebugObjectFile().
If AbstractBootImage.getOrCreateDebugObjectFile() is not called, no debug information is written.write in class NativeBootImageViaCC