final class jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol extends jdk.tools.jaotc.CallSiteRelocationSymbol
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol
super_class: jdk.tools.jaotc.CallSiteRelocationSymbol
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/tools/jaotc/ForeignGotCallSiteRelocationSymbol;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.tools.jaotc.CompiledMethodInfo, jdk.vm.ci.code.site.Call, jdk.tools.jaotc.CallSiteRelocationInfo, jdk.tools.jaotc.DataBuilder);
descriptor: (Ljdk/tools/jaotc/CompiledMethodInfo;Ljdk/vm/ci/code/site/Call;Ljdk/tools/jaotc/CallSiteRelocationInfo;Ljdk/tools/jaotc/DataBuilder;)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 4
aload 1
aload 2
aload 3
invokestatic jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol.createPltSymbol:(Ljdk/tools/jaotc/DataBuilder;Ljdk/tools/jaotc/CompiledMethodInfo;Ljdk/vm/ci/code/site/Call;Ljdk/tools/jaotc/CallSiteRelocationInfo;)Ljdk/tools/jaotc/binformat/Symbol;
invokespecial jdk.tools.jaotc.CallSiteRelocationSymbol.<init>:(Ljdk/tools/jaotc/binformat/Symbol;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/ForeignGotCallSiteRelocationSymbol;
0 2 1 mi Ljdk/tools/jaotc/CompiledMethodInfo;
0 2 2 call Ljdk/vm/ci/code/site/Call;
0 2 3 callSiteRelocation Ljdk/tools/jaotc/CallSiteRelocationInfo;
0 2 4 dataBuilder Ljdk/tools/jaotc/DataBuilder;
MethodParameters:
Name Flags
mi
call
callSiteRelocation
dataBuilder
private static jdk.tools.jaotc.binformat.Symbol createPltSymbol(jdk.tools.jaotc.DataBuilder, jdk.tools.jaotc.CompiledMethodInfo, jdk.vm.ci.code.site.Call, jdk.tools.jaotc.CallSiteRelocationInfo);
descriptor: (Ljdk/tools/jaotc/DataBuilder;Ljdk/tools/jaotc/CompiledMethodInfo;Ljdk/vm/ci/code/site/Call;Ljdk/tools/jaotc/CallSiteRelocationInfo;)Ljdk/tools/jaotc/binformat/Symbol;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual jdk.tools.jaotc.DataBuilder.getBinaryContainer:()Ljdk/tools/jaotc/binformat/BinaryContainer;
astore 4
start local 4 1: aload 3
getfield jdk.tools.jaotc.CallSiteRelocationInfo.targetSymbol:Ljava/lang/String;
astore 5
start local 5 2: new java.lang.StringBuilder
dup
ldc "plt."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 3: aload 4
aload 6
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getSymbol:(Ljava/lang/String;)Ljdk/tools/jaotc/binformat/Symbol;
astore 7
start local 7 4: aload 7
ifnonnull 12
5: new java.lang.StringBuilder
dup
ldc "got."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 6: aload 4
aload 8
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getGotSymbol:(Ljava/lang/String;)Ljdk/tools/jaotc/binformat/Symbol;
astore 9
start local 9 7: getstatic jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol.$assertionsDisabled:Z
ifne 8
aload 9
ifnonnull 8
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "undefined VM got symbol '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' for call at "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield jdk.vm.ci.code.site.Call.pcOffset:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual jdk.tools.jaotc.CompiledMethodInfo.getMethodInfo:()Ljdk/tools/jaotc/JavaMethodInfo;
invokeinterface jdk.tools.jaotc.JavaMethodInfo.getSymbolName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals: jdk.tools.jaotc.DataBuilder jdk.tools.jaotc.CompiledMethodInfo jdk.vm.ci.code.site.Call jdk.tools.jaotc.CallSiteRelocationInfo jdk.tools.jaotc.binformat.BinaryContainer java.lang.String java.lang.String jdk.tools.jaotc.binformat.Symbol java.lang.String jdk.tools.jaotc.binformat.Symbol
StackMap stack:
aload 4
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getCodeContainer:()Ljdk/tools/jaotc/binformat/CodeContainer;
invokevirtual jdk.tools.jaotc.binformat.CodeContainer.getByteStreamSize:()I
istore 10
start local 10 9: iload 10
aload 0
invokestatic jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol.addPltJump:(Ljdk/tools/jaotc/DataBuilder;)I
iadd
istore 11
start local 11 10: aload 4
aload 6
iload 10
invokestatic jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol.createCodeContainerSymbol:(Ljdk/tools/jaotc/binformat/BinaryContainer;Ljava/lang/String;I)Ljdk/tools/jaotc/binformat/Symbol;
astore 7
11: aload 4
aload 9
iload 11
invokestatic jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol.addExternalPltToGotRelocation:(Ljdk/tools/jaotc/binformat/BinaryContainer;Ljdk/tools/jaotc/binformat/Symbol;I)V
end local 11 end local 10 end local 9 end local 8 12: StackMap locals:
StackMap stack:
aload 7
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 dataBuilder Ljdk/tools/jaotc/DataBuilder;
0 13 1 mi Ljdk/tools/jaotc/CompiledMethodInfo;
0 13 2 call Ljdk/vm/ci/code/site/Call;
0 13 3 callSiteRelocation Ljdk/tools/jaotc/CallSiteRelocationInfo;
1 13 4 binaryContainer Ljdk/tools/jaotc/binformat/BinaryContainer;
2 13 5 vmSymbolName Ljava/lang/String;
3 13 6 pltSymbolName Ljava/lang/String;
4 13 7 pltSymbol Ljdk/tools/jaotc/binformat/Symbol;
6 12 8 gotSymbolName Ljava/lang/String;
7 12 9 gotSymbol Ljdk/tools/jaotc/binformat/Symbol;
9 12 10 pltStartOffset I
10 12 11 pltEndOffset I
MethodParameters:
Name Flags
dataBuilder
mi
call
callSiteRelocation
private static int addPltJump(jdk.tools.jaotc.DataBuilder);
descriptor: (Ljdk/tools/jaotc/DataBuilder;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual jdk.tools.jaotc.DataBuilder.getBackend:()Lorg/graalvm/compiler/hotspot/HotSpotHostBackend;
invokevirtual org.graalvm.compiler.hotspot.HotSpotHostBackend.getTarget:()Ljdk/vm/ci/code/TargetDescription;
invokestatic jdk.tools.jaotc.ELFMacroAssembler.getELFMacroAssembler:(Ljdk/vm/ci/code/TargetDescription;)Ljdk/tools/jaotc/ELFMacroAssembler;
astore 1
start local 1 1: aload 1
invokeinterface jdk.tools.jaotc.ELFMacroAssembler.getPLTJumpCode:()[B
astore 2
start local 2 2: aload 1
invokeinterface jdk.tools.jaotc.ELFMacroAssembler.currentEndOfInstruction:()I
istore 3
start local 3 3: aload 0
invokevirtual jdk.tools.jaotc.DataBuilder.getBinaryContainer:()Ljdk/tools/jaotc/binformat/BinaryContainer;
aload 2
iconst_0
aload 2
arraylength
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.appendCodeBytes:([BII)V
4: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 dataBuilder Ljdk/tools/jaotc/DataBuilder;
1 5 1 masm Ljdk/tools/jaotc/ELFMacroAssembler;
2 5 2 code [B
3 5 3 size I
MethodParameters:
Name Flags
dataBuilder
}
SourceFile: "ForeignGotCallSiteRelocationSymbol.java"