Skip to content

class Crystal::Compiler::CompilationUnit
inherits Reference

An LLVM::Module with information to compile it.

Class methods

.new(compiler : Compiler, program : Program, name : String, llvm_mod : LLVM::Module, output_dir : String, bc_flags_changed : Bool)

View source

Methods

#bc_name

View source

#bc_name_new

View source

#compile

View source

#emit(emit_target : EmitTarget, output_filename)

View source

#ll_name

View source

#object_filename

View source

#object_name

View source

#original_name : String

View source

#reused_previous_compilation? : Bool

View source

#temporary_object_name

View source