public class SharedLibraryViaCCBootImage extends NativeBootImageViaCC
NativeBootImage.NativeTextSectionImpl
AbstractBootImage.NativeImageKind
RWDATA_CGLOBALS_PARTITION_OFFSET
codeCache, 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,
ClassLoader imageLoader) |
Modifier and Type | Method and Description |
---|---|
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.
|
getOutputKind
build, getOrCreateDebugObjectFile, getTextSection, globalSymbolNameForMethod, globalSymbolNameForMethod, localSymbolNameForMethod, localSymbolNameForMethod, write
create, getBootImageKind, getCodeCache, getHeap, getImageSize, getKind, getNativeLibs, requiresCustomDebugRelocation
public SharedLibraryViaCCBootImage(HostedUniverse universe, HostedMetaAccess metaAccess, NativeLibraries nativeLibs, NativeImageHeap heap, NativeImageCodeCache codeCache, List<HostedMethod> entryPoints, ClassLoader imageLoader)
public String[] makeLaunchCommand(AbstractBootImage.NativeImageKind k, String imageName, Path binPath, Path workPath, Method method)
makeLaunchCommand
in class NativeBootImage
public LinkerInvocation write(org.graalvm.compiler.debug.DebugContext debug, Path outputDirectory, Path tempDirectory, String imageName, FeatureImpl.BeforeImageWriteAccessImpl config)
AbstractBootImage
AbstractBootImage.getOrCreateDebugObjectFile()
.
If AbstractBootImage.getOrCreateDebugObjectFile()
is not called, no debug information is written.write
in class NativeBootImageViaCC