diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/DebugUtils.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/DebugUtils.kt index 0c7714a0f8e..fc2c8f4024a 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/DebugUtils.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/DebugUtils.kt @@ -58,7 +58,7 @@ internal class DebugInfo internal constructor(override val context: Context):Con context.builtIns.booleanType to LLVMInt1Type()!!, context.builtIns.floatType to LLVMFloatType()!!, context.builtIns.doubleType to LLVMDoubleType()!!) - val intTypes = listOf(context.builtIns.byteType, context.builtIns.shortType, context.builtIns.longType) + val intTypes = listOf(context.builtIns.byteType, context.builtIns.shortType, context.builtIns.intType, context.builtIns.longType) val realTypes = listOf(context.builtIns.floatType, context.builtIns.doubleType) val llvmTypeSizes = llvmTypes.map { it.key to LLVMSizeOfTypeInBits(llvmTargetData, it.value) }.toMap() val llvmTypeAlignments = llvmTypes.map {it.key to LLVMPreferredAlignmentOfType(llvmTargetData, it.value)}.toMap()