[debugger][dwarf] generate char as 16 bit type

fixes KT-34336
This commit is contained in:
Vasily Levchenko
2019-12-03 17:07:19 +01:00
parent 3e06b473c8
commit 2b7c7be451
@@ -72,7 +72,7 @@ internal class DebugInfo internal constructor(override val context: Context):Con
val llvmTypes = mapOf<IrType, LLVMTypeRef>( val llvmTypes = mapOf<IrType, LLVMTypeRef>(
context.irBuiltIns.booleanType to context.llvm.llvmInt8, context.irBuiltIns.booleanType to context.llvm.llvmInt8,
context.irBuiltIns.byteType 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.shortType to context.llvm.llvmInt16,
context.irBuiltIns.intType to context.llvm.llvmInt32, context.irBuiltIns.intType to context.llvm.llvmInt32,
context.irBuiltIns.longType to context.llvm.llvmInt64, context.irBuiltIns.longType to context.llvm.llvmInt64,