From 2b7c7be45173c8e4410d029b49cd60a92c5009b0 Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Tue, 3 Dec 2019 17:07:19 +0100 Subject: [PATCH] [debugger][dwarf] generate char as 16 bit type fixes KT-34336 --- .../src/org/jetbrains/kotlin/backend/konan/llvm/DebugUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 bdcf5ab9132..a7e23a2563b 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 @@ -72,7 +72,7 @@ internal class DebugInfo internal constructor(override val context: Context):Con val llvmTypes = mapOf( context.irBuiltIns.booleanType to context.llvm.llvmInt8, context.irBuiltIns.byteType to context.llvm.llvmInt8, - context.irBuiltIns.charType to context.llvm.llvmInt8, + context.irBuiltIns.charType to context.llvm.llvmInt16, context.irBuiltIns.shortType to context.llvm.llvmInt16, context.irBuiltIns.intType to context.llvm.llvmInt32, context.irBuiltIns.longType to context.llvm.llvmInt64,