diff --git a/kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py b/kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py index 3db64c28831..0a2f21ca561 100644 --- a/kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py +++ b/kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py @@ -77,7 +77,7 @@ def _symbol_loaded_address(name, debugger = lldb.debugger): process = target.GetProcess() thread = process.GetSelectedThread() frame = thread.GetSelectedFrame() - candidates = list(filter(lambda x: x.name == name, frame.module.symbols)) + candidates = frame.module.symbol[name] # take first for candidate in candidates: address = candidate.GetStartAddress().GetLoadAddress(target)