class com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker extends com.oracle.svm.hosted.c.codegen.CCompilerInvoker
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker
super_class: com.oracle.svm.hosted.c.codegen.CCompilerInvoker
{
void <init>(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker this
start local 1 // java.nio.file.Path tempDirectory
0: .line 265
aload 0 /* this */
aload 1 /* tempDirectory */
invokespecial com.oracle.svm.hosted.c.codegen.CCompilerInvoker.<init>:(Ljava/nio/file/Path;)V
1: .line 266
return
end local 1 // java.nio.file.Path tempDirectory
end local 0 // com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/hosted/c/codegen/CCompilerInvoker$DarwinCCompilerInvoker;
0 2 1 tempDirectory Ljava/nio/file/Path;
MethodParameters:
Name Flags
tempDirectory
protected java.lang.String getDefaultCompiler();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 // com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker this
0: .line 270
ldc "cc"
areturn
end local 0 // com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/c/codegen/CCompilerInvoker$DarwinCCompilerInvoker;
protected com.oracle.svm.hosted.c.codegen.CCompilerInvoker$CompilerInfo createCompilerInfo(java.nio.file.Path, java.util.Scanner);
descriptor: (Ljava/nio/file/Path;Ljava/util/Scanner;)Lcom/oracle/svm/hosted/c/codegen/CCompilerInvoker$CompilerInfo;
flags: (0x0004) ACC_PROTECTED
Code:
stack=11, locals=7, args_size=3
start local 0 // com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker this
start local 1 // java.nio.file.Path compilerPath
start local 2 // java.util.Scanner scanner
0: .line 277
goto 2
1: .line 278
StackMap locals:
StackMap stack:
aload 2 /* scanner */
invokevirtual java.util.Scanner.nextLine:()Ljava/lang/String;
pop
2: .line 277
StackMap locals:
StackMap stack:
aload 2 /* scanner */
ldc "Apple (clang|LLVM) version "
invokevirtual java.util.Scanner.findInLine:(Ljava/lang/String;)Ljava/lang/String;
ifnull 1
3: .line 280
aload 2 /* scanner */
ldc "[. ]"
invokevirtual java.util.Scanner.useDelimiter:(Ljava/lang/String;)Ljava/util/Scanner;
pop
4: .line 281
aload 2 /* scanner */
invokevirtual java.util.Scanner.nextInt:()I
istore 3 /* major */
start local 3 // int major
5: .line 282
aload 2 /* scanner */
invokevirtual java.util.Scanner.nextInt:()I
istore 4 /* minor0 */
start local 4 // int minor0
6: .line 285
aload 2 /* scanner */
invokevirtual java.util.Scanner.hasNextInt:()Z
ifeq 7
aload 2 /* scanner */
invokevirtual java.util.Scanner.nextInt:()I
goto 8
StackMap locals: int int
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 5 /* minor1 */
start local 5 // int minor1
9: .line 286
aload 2 /* scanner */
invokevirtual java.util.Scanner.reset:()Ljava/util/Scanner;
pop
10: .line 287
aload 2 /* scanner */
invokestatic com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker.guessTargetTriplet:(Ljava/util/Scanner;)[Ljava/lang/String;
astore 6 /* triplet */
start local 6 // java.lang.String[] triplet
11: .line 288
new com.oracle.svm.hosted.c.codegen.CCompilerInvoker$CompilerInfo
dup
aload 1 /* compilerPath */
aload 6 /* triplet */
iconst_1
aaload
ldc "LLVM"
ldc "clang"
iload 3 /* major */
iload 4 /* minor0 */
iload 5 /* minor1 */
aload 6 /* triplet */
iconst_0
aaload
invokespecial com.oracle.svm.hosted.c.codegen.CCompilerInvoker$CompilerInfo.<init>:(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIILjava/lang/String;)V
12: areturn
end local 6 // java.lang.String[] triplet
end local 5 // int minor1
end local 4 // int minor0
end local 3 // int major
13: .line 289
StackMap locals: com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker java.nio.file.Path java.util.Scanner
StackMap stack: java.util.NoSuchElementException
pop
14: .line 290
aconst_null
areturn
end local 2 // java.util.Scanner scanner
end local 1 // java.nio.file.Path compilerPath
end local 0 // com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/svm/hosted/c/codegen/CCompilerInvoker$DarwinCCompilerInvoker;
0 15 1 compilerPath Ljava/nio/file/Path;
0 15 2 scanner Ljava/util/Scanner;
5 13 3 major I
6 13 4 minor0 I
9 13 5 minor1 I
11 13 6 triplet [Ljava/lang/String;
Exception table:
from to target type
0 12 13 Class java.util.NoSuchElementException
MethodParameters:
Name Flags
compilerPath
scanner
protected void verify();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 // com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker this
0: .line 296
aload 0 /* this */
getfield com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker.compilerInfo:Lcom/oracle/svm/hosted/c/codegen/CCompilerInvoker$CompilerInfo;
getfield com.oracle.svm.hosted.c.codegen.CCompilerInvoker$CompilerInfo.targetArch:Ljava/lang/String;
invokestatic com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker.guessArchitecture:(Ljava/lang/String;)Ljava/lang/Class;
ldc Ljdk/vm/ci/amd64/AMD64;
if_acmpeq 4
1: .line 297
ldc "Native-image building on Darwin currently only supports target architecture: %s (%s unsupported)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
2: .line 298
ldc Ljdk/vm/ci/amd64/AMD64;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0 /* this */
getfield com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker.compilerInfo:Lcom/oracle/svm/hosted/c/codegen/CCompilerInvoker$CompilerInfo;
getfield com.oracle.svm.hosted.c.codegen.CCompilerInvoker$CompilerInfo.targetArch:Ljava/lang/String;
aastore
3: .line 297
invokestatic com.oracle.svm.core.util.UserError.abort:(Ljava/lang/String;[Ljava/lang/Object;)Lcom/oracle/svm/core/util/UserError$UserException;
pop
4: .line 300
StackMap locals:
StackMap stack:
return
end local 0 // com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/svm/hosted/c/codegen/CCompilerInvoker$DarwinCCompilerInvoker;
}
SourceFile: "CCompilerInvoker.java"
NestHost: com.oracle.svm.hosted.c.codegen.CCompilerInvoker
InnerClasses:
public UserException = com.oracle.svm.core.util.UserError$UserException of com.oracle.svm.core.util.UserError
public final CompilerInfo = com.oracle.svm.hosted.c.codegen.CCompilerInvoker$CompilerInfo of com.oracle.svm.hosted.c.codegen.CCompilerInvoker
private DarwinCCompilerInvoker = com.oracle.svm.hosted.c.codegen.CCompilerInvoker$DarwinCCompilerInvoker of com.oracle.svm.hosted.c.codegen.CCompilerInvoker