final class com.oracle.truffle.llvm.parser.text.LLSourceMap
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.parser.text.LLSourceMap
super_class: java.lang.Object
{
private final com.oracle.truffle.api.source.Source llSource;
descriptor: Lcom/oracle/truffle/api/source/Source;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, com.oracle.truffle.llvm.parser.text.LLSourceMap$Function> functions;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/oracle/truffle/llvm/parser/text/LLSourceMap$Function;>;
private final java.util.List<java.lang.String> globals;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private com.oracle.truffle.llvm.runtime.debug.scope.LLVMSourceLocation$TextModule globalScope;
descriptor: Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceLocation$TextModule;
flags: (0x0002) ACC_PRIVATE
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/truffle/llvm/parser/text/LLSourceMap;
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.truffle.llvm.parser.text.LLSourceMap.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.oracle.truffle.api.source.Source);
descriptor: (Lcom/oracle/truffle/api/source/Source;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.llvm.parser.text.LLSourceMap.llSource:Lcom/oracle/truffle/api/source/Source;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.oracle.truffle.llvm.parser.text.LLSourceMap.functions:Ljava/util/Map;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.oracle.truffle.llvm.parser.text.LLSourceMap.globals:Ljava/util/List;
4: aload 0
aconst_null
putfield com.oracle.truffle.llvm.parser.text.LLSourceMap.globalScope:Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceLocation$TextModule;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/llvm/parser/text/LLSourceMap;
0 6 1 llSource Lcom/oracle/truffle/api/source/Source;
MethodParameters:
Name Flags
llSource
void registerFunction(java.lang.String, com.oracle.truffle.llvm.parser.text.LLSourceMap$Function);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/llvm/parser/text/LLSourceMap$Function;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.functions:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/parser/text/LLSourceMap;
0 2 1 name Ljava/lang/String;
0 2 2 function Lcom/oracle/truffle/llvm/parser/text/LLSourceMap$Function;
MethodParameters:
Name Flags
name
function
void registerGlobal(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.globals:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/parser/text/LLSourceMap;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private com.oracle.truffle.llvm.runtime.debug.scope.LLVMSourceLocation getGlobalScope(com.oracle.truffle.llvm.runtime.LLVMScope);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMScope;)Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceLocation;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.globalScope:Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceLocation$TextModule;
ifnonnull 2
1: aload 0
aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.llSource:Lcom/oracle/truffle/api/source/Source;
invokevirtual com.oracle.truffle.api.source.Source.getName:()Ljava/lang/String;
aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.llSource:Lcom/oracle/truffle/api/source/Source;
iconst_0
aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.llSource:Lcom/oracle/truffle/api/source/Source;
invokevirtual com.oracle.truffle.api.source.Source.getLength:()I
invokevirtual com.oracle.truffle.api.source.Source.createSection:(II)Lcom/oracle/truffle/api/source/SourceSection;
invokestatic com.oracle.truffle.llvm.runtime.debug.scope.LLVMSourceLocation.createLLModule:(Ljava/lang/String;Lcom/oracle/truffle/api/source/SourceSection;)Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceLocation$TextModule;
putfield com.oracle.truffle.llvm.parser.text.LLSourceMap.globalScope:Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceLocation$TextModule;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.globals:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 14
3: aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.globals:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 12
StackMap locals: com.oracle.truffle.llvm.parser.text.LLSourceMap com.oracle.truffle.llvm.runtime.LLVMScope top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 5: getstatic com.oracle.truffle.llvm.parser.text.LLSourceMap.$assertionsDisabled:Z
ifne 6
aload 2
ldc "@"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: com.oracle.truffle.llvm.parser.text.LLSourceMap com.oracle.truffle.llvm.runtime.LLVMScope java.lang.String java.util.Iterator
StackMap stack:
aload 1
aload 2
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual com.oracle.truffle.llvm.runtime.LLVMScope.get:(Ljava/lang/String;)Lcom/oracle/truffle/llvm/runtime/LLVMSymbol;
astore 4
start local 4 7: aload 4
ifnull 10
aload 4
invokevirtual com.oracle.truffle.llvm.runtime.LLVMSymbol.isGlobalVariable:()Z
ifeq 10
8: aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.globalScope:Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceLocation$TextModule;
aload 4
invokevirtual com.oracle.truffle.llvm.runtime.LLVMSymbol.asGlobalVariable:()Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
invokevirtual com.oracle.truffle.llvm.runtime.debug.scope.LLVMSourceLocation$TextModule.addGlobal:(Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;)V
9: goto 12
10: StackMap locals: com.oracle.truffle.llvm.runtime.LLVMSymbol
StackMap stack:
aload 2
invokestatic com.oracle.truffle.llvm.runtime.global.LLVMGlobal.createUnavailable:(Ljava/lang/String;)Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
astore 5
start local 5 11: aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.globalScope:Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceLocation$TextModule;
aload 5
invokevirtual com.oracle.truffle.llvm.runtime.debug.scope.LLVMSourceLocation$TextModule.addGlobal:(Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;)V
end local 5 end local 4 end local 2 12: StackMap locals: com.oracle.truffle.llvm.parser.text.LLSourceMap com.oracle.truffle.llvm.runtime.LLVMScope top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
13: aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.globals:Ljava/util/List;
invokeinterface java.util.List.clear:()V
14: StackMap locals: com.oracle.truffle.llvm.parser.text.LLSourceMap com.oracle.truffle.llvm.runtime.LLVMScope
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.globalScope:Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceLocation$TextModule;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/truffle/llvm/parser/text/LLSourceMap;
0 15 1 moduleScope Lcom/oracle/truffle/llvm/runtime/LLVMScope;
5 12 2 globalName Ljava/lang/String;
7 12 4 actualSymbol Lcom/oracle/truffle/llvm/runtime/LLVMSymbol;
11 12 5 global Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
MethodParameters:
Name Flags
moduleScope
com.oracle.truffle.llvm.parser.text.LLSourceMap$Function getFunction(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/oracle/truffle/llvm/parser/text/LLSourceMap$Function;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.functions:Ljava/util/Map;
aload 1
invokestatic com.oracle.truffle.llvm.runtime.types.symbols.LLVMIdentifier.toGlobalIdentifier:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.llvm.parser.text.LLSourceMap$Function
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/parser/text/LLSourceMap;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
void clearFunction(com.oracle.truffle.llvm.parser.text.LLSourceMap$Function);
descriptor: (Lcom/oracle/truffle/llvm/parser/text/LLSourceMap$Function;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.functions:Ljava/util/Map;
aload 1
invokevirtual com.oracle.truffle.llvm.parser.text.LLSourceMap$Function.getName:()Ljava/lang/String;
invokestatic com.oracle.truffle.llvm.runtime.types.symbols.LLVMIdentifier.toGlobalIdentifier:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/parser/text/LLSourceMap;
0 2 1 function Lcom/oracle/truffle/llvm/parser/text/LLSourceMap$Function;
MethodParameters:
Name Flags
function
com.oracle.truffle.api.source.Source getLLSource();
descriptor: ()Lcom/oracle/truffle/api/source/Source;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.parser.text.LLSourceMap.llSource:Lcom/oracle/truffle/api/source/Source;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/parser/text/LLSourceMap;
}
SourceFile: "LLSourceMap.java"
NestMembers:
com.oracle.truffle.llvm.parser.text.LLSourceMap$Function com.oracle.truffle.llvm.parser.text.LLSourceMap$Instruction
InnerClasses:
final Function = com.oracle.truffle.llvm.parser.text.LLSourceMap$Function of com.oracle.truffle.llvm.parser.text.LLSourceMap
final Instruction = com.oracle.truffle.llvm.parser.text.LLSourceMap$Instruction of com.oracle.truffle.llvm.parser.text.LLSourceMap
public final TextModule = com.oracle.truffle.llvm.runtime.debug.scope.LLVMSourceLocation$TextModule of com.oracle.truffle.llvm.runtime.debug.scope.LLVMSourceLocation