Improve object arrays support. (#182)
Also fix the way how symbol names are being generated. Before arrays2.kt was not linking.
This commit is contained in:
committed by
Konstantin Anisimov
parent
26ee99185c
commit
ae49bd8432
+2
-2
@@ -33,9 +33,9 @@ internal fun emitLLVM(context: Context) {
|
||||
|
||||
val irModule = context.irModule!!
|
||||
// Note that we don't set module target explicitly.
|
||||
// It is determined by the target of runtime.bc
|
||||
// It is determined by the target of runtime.bc
|
||||
// (see Llvm class in ContextUtils)
|
||||
// Which in turn is determined by the clang flags
|
||||
// Which in turn is determined by the clang flags
|
||||
// used to compile runtime.bc.
|
||||
val llvmModule = LLVMModuleCreateWithName("out")!! // TODO: dispose
|
||||
context.llvmModule = llvmModule
|
||||
|
||||
Reference in New Issue
Block a user