[Lldb-commits] [lldb] [lldb][NFC] remove the ResolveSDKPathFromDebugInfo method (PR #145744)

2025-06-25 Thread Adrian Prantl via lldb-commits
@@ -1130,14 +1130,33 @@ void PlatformDarwin::AddClangModuleCompilationOptionsForSDKType( if (target) { if (ModuleSP exe_module_sp = target->GetExecutableModule()) { - auto path_or_err = ResolveSDKPathFromDebugInfo(*exe_module_sp); - if (path_or_err) { -

[Lldb-commits] [lldb] [lldb][darwin] force BuiltinHeadersInSystemModules to be always false (PR #144913)

2025-06-25 Thread Adrian Prantl via lldb-commits
https://github.com/adrian-prantl closed https://github.com/llvm/llvm-project/pull/144913 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Fix source references (PR #144364)

2025-06-25 Thread Ebuka Ezike via lldb-commits
da-viper wrote: > if we don't have a symbol, it would be nice to have a source reference for a > given range (say the next 64 or 128 instructions) I was able to find a scenario there can have an executable address without an associated symbol. from one of the test cases. https://github.com/

[Lldb-commits] [lldb] [lldb] Make MCP server instance global (PR #145616)

2025-06-25 Thread John Harrison via lldb-commits
@@ -66,16 +87,62 @@ LLDBCommandTool::Call(const llvm::json::Value &args) { output += err_str; } - mcp::protocol::TextResult text_result; - text_result.content.emplace_back(mcp::protocol::TextContent{{output}}); - text_result.isError = !result.Succeeded(); - return te

[Lldb-commits] [lldb] [lldb][NFC] remove the ResolveSDKPathFromDebugInfo method (PR #145744)

2025-06-25 Thread Adrian Prantl via lldb-commits
https://github.com/adrian-prantl approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/145744 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][RPC] Upstream lldb-rpc-gen tool (PR #138031)

2025-06-25 Thread Alex Langford via lldb-commits
@@ -0,0 +1,22 @@ +include(CheckCXXCompilerFlag) bulbazord wrote: If you remove it, does it add new compiler warnings? If not, let's take it out. https://github.com/llvm/llvm-project/pull/138031 ___ lldb-commits mailing

[Lldb-commits] [lldb] [lldb] Make MCP server instance global (PR #145616)

2025-06-25 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/145616 >From 5ed60a3aa5022694a593e2885ad6e563df6ffa37 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 24 Jun 2025 16:22:46 -0700 Subject: [PATCH 1/3] [lldb] Make MCP server instance global Rather than

[Lldb-commits] [lldb] [lldb][NFC] remove the ResolveSDKPathFromDebugInfo method (PR #145744)

2025-06-25 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Charles Zablit (charles-zablit) Changes This patch is part of an effort to remove the `ResolveSDKPathFromDebugInfo` method, and more specifically the variant which takes a `Module` as argument. This PR should be merged after https://github

[Lldb-commits] [lldb] [lldb][darwin] force BuiltinHeadersInSystemModules to be always false (PR #144913)

2025-06-25 Thread Adrian Prantl via lldb-commits
https://github.com/adrian-prantl approved this pull request. This LGTM. There is no good reason to support debugging with modules against an older SDK, since you can't actually install one easily either. https://github.com/llvm/llvm-project/pull/144913 __

[Lldb-commits] [lldb] [lldb][RPC] Upstream lldb-rpc-gen tool (PR #138031)

2025-06-25 Thread Chelsea Cassanova via lldb-commits
@@ -0,0 +1,22 @@ +include(CheckCXXCompilerFlag) chelcassanova wrote: Looking at this again, I realize that on its own this is probably unnecessary, but this include is actually here for a check of a compiler flag: ``` check_cxx_compiler_flag("-Wno-gnu-zero-vari

[Lldb-commits] [lldb] [lldb] Make MCP server instance global (PR #145616)

2025-06-25 Thread Jonas Devlieghere via lldb-commits
@@ -66,16 +87,62 @@ LLDBCommandTool::Call(const llvm::json::Value &args) { output += err_str; } - mcp::protocol::TextResult text_result; - text_result.content.emplace_back(mcp::protocol::TextContent{{output}}); - text_result.isError = !result.Succeeded(); - return te

[Lldb-commits] [lldb] [lldb] Make MCP server instance global (PR #145616)

2025-06-25 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/145616 >From 5ed60a3aa5022694a593e2885ad6e563df6ffa37 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 24 Jun 2025 16:22:46 -0700 Subject: [PATCH 1/4] [lldb] Make MCP server instance global Rather than

[Lldb-commits] [lldb] [lldb] Adding file and pipe support to lldb_private::MainLoopWindows. (PR #145621)

2025-06-25 Thread John Harrison via lldb-commits
https://github.com/ashgti updated https://github.com/llvm/llvm-project/pull/145621 >From 3db6bada43cb11c5fb9fe82634b939d6884eb074 Mon Sep 17 00:00:00 2001 From: John Harrison Date: Wed, 25 Jun 2025 18:03:39 -0700 Subject: [PATCH] [lldb] Adding file and pipe support to lldb_private::MainLoopWin

[Lldb-commits] [lldb] [lldb] Adding file and pipe support to lldb_private::MainLoopWindows. (PR #145621)

2025-06-25 Thread John Harrison via lldb-commits
https://github.com/ashgti updated https://github.com/llvm/llvm-project/pull/145621 >From 954f107c85f766ee75370b349eb039819f456db5 Mon Sep 17 00:00:00 2001 From: John Harrison Date: Wed, 25 Jun 2025 18:03:39 -0700 Subject: [PATCH] [lldb] Adding file and pipe support to lldb_private::MainLoopWin

[Lldb-commits] [lldb] [lldb] Adding file and pipe support to lldb_private::MainLoopWindows. (PR #145621)

2025-06-25 Thread John Harrison via lldb-commits
https://github.com/ashgti updated https://github.com/llvm/llvm-project/pull/145621 >From 97b8cf6986847bb73fa9ceb6f0c182d8c79737d4 Mon Sep 17 00:00:00 2001 From: John Harrison Date: Wed, 25 Jun 2025 18:03:39 -0700 Subject: [PATCH] [lldb] Adding file and pipe support to lldb_private::MainLoopWin

[Lldb-commits] [lldb] [lldb][Mach-O] Allow "process metadata" LC_NOTE to supply registers (PR #144627)

2025-06-25 Thread Jason Molenda via lldb-commits
@@ -0,0 +1,293 @@ +//===-- RegisterContextUnifiedCore.cpp ===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[Lldb-commits] [lldb] [lldb] Adding file and pipe support to lldb_private::MainLoopWindows. (PR #145621)

2025-06-25 Thread John Harrison via lldb-commits
https://github.com/ashgti updated https://github.com/llvm/llvm-project/pull/145621 >From 0427c242228ecb4034931ff77d16cedd4b1bacaf Mon Sep 17 00:00:00 2001 From: John Harrison Date: Wed, 25 Jun 2025 18:03:39 -0700 Subject: [PATCH] [lldb] Adding file and pipe support to lldb_private::MainLoopWin

[Lldb-commits] [lldb] [lldb] Correctly restore the cursor column after resizing the statusline (PR #145823)

2025-06-25 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/145823 >From 0c722624e71814eee9a4c493de0a75f7392cfebe Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 25 Jun 2025 17:18:22 -0700 Subject: [PATCH] [lldb] Correctly restore the cursor column after resizi

[Lldb-commits] [lldb] Add a python JIT loader class. (PR #142514)

2025-06-25 Thread via lldb-commits
jimingham wrote: We don't have SB API's currently for the stop-hooks yet, so we're free to invent them. But my notion was something like this: class ScriptedHookDefinition { void SetScriptingLanguage(lldb::ScriptLanguage lang); void SetScriptClassName(const char *script_class_name); voi

<    1   2