From ec70bbf5c76c07ce2a986e8540ee49598aed56ae Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Mon, 12 Oct 2020 13:00:22 +0200 Subject: [PATCH] [debug][bindings][python] drop `struct` modificator --- kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py b/kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py index 549f9521507..28357426204 100644 --- a/kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py +++ b/kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py @@ -41,7 +41,7 @@ def exelog(stmt): def lldb_val_to_ptr(lldb_val): addr = lldb_val.GetValueAsUnsigned() - return '((struct ObjHeader *) {:#x})'.format(addr) + return '((ObjHeader *) {:#x})'.format(addr) def evaluate(expr): @@ -473,7 +473,7 @@ def __lldb_init_module(debugger, _): --no-value \ --expand \ --python-function konan_lldb.kotlin_object_type_summary \ - "struct ObjHeader *" \ + "ObjHeader *" \ --category Kotlin\ ') debugger.HandleCommand('\