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