Lazy stacktrace (#2036)
* stringify stacktrace lazily * Introduce NativePtrArray * Added Throwable::getStackTrace
This commit is contained in:
+2
-1
@@ -97,7 +97,8 @@ internal val arrayTypes = setOf(
|
||||
"kotlin.FloatArray",
|
||||
"kotlin.DoubleArray",
|
||||
"kotlin.BooleanArray",
|
||||
"kotlin.native.ImmutableBlob"
|
||||
"kotlin.native.ImmutableBlob",
|
||||
"kotlin.native.internal.NativePtrArray"
|
||||
)
|
||||
|
||||
|
||||
|
||||
+2
-1
@@ -109,7 +109,8 @@ internal class RTTIGenerator(override val context: Context) : ContextUtils {
|
||||
"kotlin.DoubleArray" to LLVMDoubleType()!!,
|
||||
"kotlin.BooleanArray" to LLVMInt8Type()!!,
|
||||
"kotlin.String" to LLVMInt16Type()!!,
|
||||
"kotlin.native.ImmutableBlob" to LLVMInt8Type()!!
|
||||
"kotlin.native.ImmutableBlob" to LLVMInt8Type()!!,
|
||||
"kotlin.native.internal.NativePtrArray" to kInt8Ptr
|
||||
)
|
||||
|
||||
// Keep in sync with Konan_RuntimeType.
|
||||
|
||||
Reference in New Issue
Block a user