Skip to content

Conversation

lexi-nadia
Copy link
Contributor

No description provided.

@llvmbot
Copy link
Member

llvmbot commented Sep 4, 2025

@llvm/pr-subscribers-lldb

Author: None (lexi-nadia)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/156956.diff

1 Files Affected:

  • (modified) lldb/tools/lldb-dap/Handler/ModuleSymbolsRequestHandler.cpp (+1-1)
diff --git a/lldb/tools/lldb-dap/Handler/ModuleSymbolsRequestHandler.cpp b/lldb/tools/lldb-dap/Handler/ModuleSymbolsRequestHandler.cpp
index 4a9d256cfa975..4c61138e5007e 100644
--- a/lldb/tools/lldb-dap/Handler/ModuleSymbolsRequestHandler.cpp
+++ b/lldb/tools/lldb-dap/Handler/ModuleSymbolsRequestHandler.cpp
@@ -60,7 +60,7 @@ ModuleSymbolsRequestHandler::Run(const ModuleSymbolsArguments &args) const {
     if (!symbol.IsValid())
       continue;
 
-    Symbol dap_symbol;
+    Symbol dap_symbol = {};
     dap_symbol.id = symbol.GetID();
     dap_symbol.type = symbol.GetType();
     dap_symbol.isDebug = symbol.IsDebug();

@cmtice cmtice requested a review from ashgti September 4, 2025 19:31
@ashgti ashgti merged commit b259dbd into llvm:main Sep 4, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants