public class com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl extends com.oracle.objectfile.elf.dwarf.DwarfSectionImpl
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl
super_class: com.oracle.objectfile.elf.dwarf.DwarfSectionImpl
{
private static final java.lang.String TARGET_SECTION_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: ".text"
private final com.oracle.objectfile.LayoutDecision$Kind[] targetSectionKinds;
descriptor: [Lcom/oracle/objectfile/LayoutDecision$Kind;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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 Lcom/oracle/objectfile/elf/dwarf/DwarfStrSectionImpl;
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 com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.oracle.objectfile.elf.dwarf.DwarfDebugInfo);
descriptor: (Lcom/oracle/objectfile/elf/dwarf/DwarfDebugInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.oracle.objectfile.elf.dwarf.DwarfSectionImpl.<init>:(Lcom/oracle/objectfile/elf/dwarf/DwarfDebugInfo;)V
1: aload 0
iconst_3
anewarray com.oracle.objectfile.LayoutDecision$Kind
dup
iconst_0
2: getstatic com.oracle.objectfile.LayoutDecision$Kind.CONTENT:Lcom/oracle/objectfile/LayoutDecision$Kind;
aastore
dup
iconst_1
3: getstatic com.oracle.objectfile.LayoutDecision$Kind.OFFSET:Lcom/oracle/objectfile/LayoutDecision$Kind;
aastore
dup
iconst_2
4: getstatic com.oracle.objectfile.LayoutDecision$Kind.VADDR:Lcom/oracle/objectfile/LayoutDecision$Kind;
aastore
putfield com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl.targetSectionKinds:[Lcom/oracle/objectfile/LayoutDecision$Kind;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/objectfile/elf/dwarf/DwarfStrSectionImpl;
0 6 1 dwarfSections Lcom/oracle/objectfile/elf/dwarf/DwarfDebugInfo;
MethodParameters:
Name Flags
dwarfSections
public java.lang.String getSectionName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ".debug_str"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/elf/dwarf/DwarfStrSectionImpl;
public void createContent();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl.dwarfSections:Lcom/oracle/objectfile/elf/dwarf/DwarfDebugInfo;
invokevirtual com.oracle.objectfile.elf.dwarf.DwarfDebugInfo.getStringTable:()Lcom/oracle/objectfile/debugentry/StringTable;
invokevirtual com.oracle.objectfile.debugentry.StringTable.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.objectfile.debugentry.StringEntry
astore 2
start local 2 3: aload 2
invokevirtual com.oracle.objectfile.debugentry.StringEntry.isAddToStrSection:()Z
ifeq 7
4: aload 2
iload 1
invokevirtual com.oracle.objectfile.debugentry.StringEntry.setOffset:(I)V
5: aload 2
invokevirtual com.oracle.objectfile.debugentry.StringEntry.getString:()Ljava/lang/String;
astore 4
start local 4 6: iload 1
aload 4
invokevirtual java.lang.String.length:()I
iconst_1
iadd
iadd
istore 1
end local 4 end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: iload 1
newarray 8
astore 2
start local 2 9: aload 0
aload 2
invokespecial com.oracle.objectfile.elf.dwarf.DwarfSectionImpl.setContent:([B)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/objectfile/elf/dwarf/DwarfStrSectionImpl;
1 11 1 pos I
3 7 2 stringEntry Lcom/oracle/objectfile/debugentry/StringEntry;
6 7 4 string Ljava/lang/String;
9 11 2 buffer [B
public void writeContent(org.graalvm.compiler.debug.DebugContext);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl.getContent:()[B
astore 2
start local 2 1: aload 2
arraylength
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 0
aload 1
iload 4
invokevirtual com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl.enableLog:(Lorg/graalvm/compiler/debug/DebugContext;I)V
4: aload 0
getfield com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl.dwarfSections:Lcom/oracle/objectfile/elf/dwarf/DwarfDebugInfo;
invokevirtual com.oracle.objectfile.elf.dwarf.DwarfDebugInfo.getStringTable:()Lcom/oracle/objectfile/debugentry/StringTable;
invokevirtual com.oracle.objectfile.debugentry.StringTable.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl org.graalvm.compiler.debug.DebugContext byte[] int int top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.objectfile.debugentry.StringEntry
astore 5
start local 5 6: aload 5
invokevirtual com.oracle.objectfile.debugentry.StringEntry.isAddToStrSection:()Z
ifeq 10
7: getstatic com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl.$assertionsDisabled:Z
ifne 8
aload 5
invokevirtual com.oracle.objectfile.debugentry.StringEntry.getOffset:()I
iload 4
if_icmpeq 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl org.graalvm.compiler.debug.DebugContext byte[] int int com.oracle.objectfile.debugentry.StringEntry java.util.Iterator
StackMap stack:
aload 5
invokevirtual com.oracle.objectfile.debugentry.StringEntry.getString:()Ljava/lang/String;
astore 7
start local 7 9: aload 0
aload 7
aload 2
iload 4
invokevirtual com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl.putAsciiStringBytes:(Ljava/lang/String;[BI)I
istore 4
end local 7 end local 5 10: StackMap locals: com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl org.graalvm.compiler.debug.DebugContext byte[] int int top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
11: getstatic com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl.$assertionsDisabled:Z
ifne 12
iload 4
iload 3
if_icmpeq 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals: com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl org.graalvm.compiler.debug.DebugContext byte[] int int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/objectfile/elf/dwarf/DwarfStrSectionImpl;
0 13 1 context Lorg/graalvm/compiler/debug/DebugContext;
1 13 2 buffer [B
2 13 3 size I
3 13 4 pos I
6 10 5 stringEntry Lcom/oracle/objectfile/debugentry/StringEntry;
9 10 7 string Ljava/lang/String;
MethodParameters:
Name Flags
context
public java.lang.String targetSectionName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ".text"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/elf/dwarf/DwarfStrSectionImpl;
public com.oracle.objectfile.LayoutDecision$Kind[] targetSectionKinds();
descriptor: ()[Lcom/oracle/objectfile/LayoutDecision$Kind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.elf.dwarf.DwarfStrSectionImpl.targetSectionKinds:[Lcom/oracle/objectfile/LayoutDecision$Kind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/elf/dwarf/DwarfStrSectionImpl;
}
SourceFile: "DwarfStrSectionImpl.java"
InnerClasses:
public final Kind = com.oracle.objectfile.LayoutDecision$Kind of com.oracle.objectfile.LayoutDecision