Class LlvmGoTarget
java.lang.Object
org.ek9lang.compiler.backend.llvm.LlvmTarget
org.ek9lang.compiler.backend.llvm.go.LlvmGoTarget
-
Field Summary
Fields inherited from class org.ek9lang.compiler.backend.llvm.LlvmTarget
clangExecutableSupported
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe Target Architecture for the output.boolean
Is this target actually supported.
-
Constructor Details
-
LlvmGoTarget
public LlvmGoTarget()
-
-
Method Details
-
getArchitecture
Description copied from interface:Target
The Target Architecture for the output.- Returns:
- One of the valid target architectures.
-
isSupported
public boolean isSupported()Description copied from interface:Target
Is this target actually supported. While the developer may have specified a valid TargetArchitecture, the necessary components may not be available. So for example, if the developer had specified LLVM_GO/LLVM_CPP as the target output (and hence some form of binary as a result), it will be necessary for that developer to have llvm installed (at the right level) and to be accessible.- Returns:
- true if supported and output can be generated, false otherwise.
-