From 271fc3508236ab1b34ccad368cf930383500c1d2 Mon Sep 17 00:00:00 2001 From: Pavel Kunyavskiy Date: Fri, 2 Jul 2021 14:36:39 +0300 Subject: [PATCH] [K/N] Minor debug info fix --- kotlin-native/runtime/src/debug/cpp/SourceInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin-native/runtime/src/debug/cpp/SourceInfo.cpp b/kotlin-native/runtime/src/debug/cpp/SourceInfo.cpp index 511b2445afd..aa45852d3be 100644 --- a/kotlin-native/runtime/src/debug/cpp/SourceInfo.cpp +++ b/kotlin-native/runtime/src/debug/cpp/SourceInfo.cpp @@ -176,7 +176,7 @@ extern "C" struct SourceInfo Kotlin_getSourceInfo(void* addr) { if (lineNumber == 0) return 0; CSRange range = CSSourceInfoGetRange(ref); - SYM_LOG("ref(%p .. %p) [{\n", (void *)rangeRef.location, (void *)(range.location + range.length)); + SYM_LOG("ref(%p .. %p) [{\n", (void *)range.location, (void *)(range.location + range.length)); SYM_DUMP(ref); SYM_DUMP(CSSourceInfoGetSymbol(ref)); const char* fileName = CSSourceInfoGetPath(ref);