[Lldb-commits] [lldb] [lldb][framework] Copy framework files correctly (PR #146425)

2025-06-30 Thread Chelsea Cassanova via lldb-commits
chelcassanova wrote: > If framework-header-fix.py already puts the header in the framework, why > might we want to wholesale copy it into the framework beforehand? I don't think the script and build infrastructure was actually putting everything in the framework itself, just the staging area i

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

2025-06-30 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova updated https://github.com/llvm/llvm-project/pull/138031 >From 0c0825263c3423a724a9d9253368332ebe0e7568 Mon Sep 17 00:00:00 2001 From: Chelsea Cassanova Date: Wed, 30 Apr 2025 14:15:39 -0700 Subject: [PATCH] [lldb][RPC] Upstream lldb-rpc-gen tool This commit up

[Lldb-commits] [lldb] [lldb] Optimize statusline redrawing on terminal size change (PR #146435)

2025-06-30 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/146435 Avoid some of the work to disable/enable the statusline when the terminal dimensions change. >From 73bffa08fe1b2946a81056636b505f93d0b787a8 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Mon, 30 J

[Lldb-commits] [lldb] [lldb] Optimize statusline redrawing on terminal size change (PR #146435)

2025-06-30 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes Avoid some of the work to disable/enable the statusline when the terminal dimensions change. --- Full diff: https://github.com/llvm/llvm-project/pull/146435.diff 2 Files Affected: - (modified) ll

[Lldb-commits] [lldb] [lldb][Mach-O] Fix several bugs in x86_64 Mach-O corefile (PR #146460)

2025-06-30 Thread Jonas Devlieghere via lldb-commits
@@ -184,46 +184,32 @@ class RegisterContextDarwin_x86_64_Mach : public RegisterContextDarwin_x86_64 { SetError(GPRRegSet, Read, -1); SetError(FPURegSet, Read, -1); SetError(EXCRegSet, Read, -1); -bool done = false; -while (!done) { +while (offset < da

[Lldb-commits] [lldb] [lldb][Mach-O] Fix several bugs in x86_64 Mach-O corefile (PR #146460)

2025-06-30 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/146460 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][framework] Copy framework files correctly (PR #146425)

2025-06-30 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Chelsea Cassanova (chelcassanova) Changes A build step needs to copy headers from the framework staging area to the framework itself. This commit modifies the LLDB framework CMake module to do this. --- Full diff: https://github.com/llvm/

[Lldb-commits] [lldb] [lldb][framework] Copy framework files correctly (PR #146425)

2025-06-30 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova created https://github.com/llvm/llvm-project/pull/146425 A build step needs to copy headers from the framework staging area to the framework itself. This commit modifies the LLDB framework CMake module to do this. >From b08afa816f4555e2075bd3637217e43b7ba86fa9

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

2025-06-30 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/146132 >From e601025c14fb609635dc6a9adea5b1ae8b8e4540 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 27 Jun 2025 11:08:08 -0700 Subject: [PATCH 1/4] [lldb] Correctly restore the cursor column after re

[Lldb-commits] [lldb] e94c609 - [lldb][Mach-O] Fix several bugs in x86_64 Mach-O corefile (#146460)

2025-06-30 Thread via lldb-commits
Author: Jason Molenda Date: 2025-06-30T21:27:53-07:00 New Revision: e94c6091c93a72e9b81cf8d6394495d043b409d4 URL: https://github.com/llvm/llvm-project/commit/e94c6091c93a72e9b81cf8d6394495d043b409d4 DIFF: https://github.com/llvm/llvm-project/commit/e94c6091c93a72e9b81cf8d6394495d043b409d4.diff

[Lldb-commits] [lldb] [lldb][DWARF64] Enable support for DWARF64 format handling (PR #145645)

2025-06-30 Thread Hemang Gadhavi via lldb-commits
https://github.com/HemangGadhavi updated https://github.com/llvm/llvm-project/pull/145645 >From a85d648ce62b69b870dda306dbdc2d412ed89d33 Mon Sep 17 00:00:00 2001 From: HemangGadhavi Date: Wed, 25 Jun 2025 02:06:05 -0400 Subject: [PATCH 1/4] [lldb][DWARF64] Enable support for DWARF64 format han

[Lldb-commits] [lldb] [lldb][DWARF64] Enable support for DWARF64 format handling (PR #145645)

2025-06-30 Thread Hemang Gadhavi via lldb-commits
@@ -0,0 +1,86 @@ +//===-- DWARF64UnitTest.cpp=---===// HemangGadhavi wrote: Thanks @JDevlieghere Updated https://github.com/llvm/llvm-project/pull/145645 ___ lldb-commits

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

2025-06-30 Thread Pavel Labath via lldb-commits
https://github.com/labath approved this pull request. This looks good. Any chance of a test case? This sounds like something pexpect should manage to handle. https://github.com/llvm/llvm-project/pull/146132 ___ lldb-commits mailing list lldb-commits@l

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

2025-06-30 Thread Pavel Labath via lldb-commits
labath wrote: > I had considered this but I quickly discarded it after trying it because it > looks like very much like a bug. When you interactive resize the terminal > we'll get a bunch of `SIGWINCH`s (which is desirable because otherwise text > might have wrapped and we don't get a chance t

[Lldb-commits] [lldb] [lldb] Document MCP support in LLDB (PR #145935)

2025-06-30 Thread David Spickett via lldb-commits
@@ -0,0 +1,85 @@ +# Model Context Protocol (MCP) + +LLDB supports the [Model Context Protocol][https://modelcontextprotocol.io] +(MCP). This structured, machine-friendly protocol allows AI models to access +and interact with external tools, for example debuggers. Using MCP, an AI

[Lldb-commits] [lldb] [lldb] Document MCP support in LLDB (PR #145935)

2025-06-30 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/145935 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Optimize identifier lookup in DIL (PR #146094)

2025-06-30 Thread Pavel Labath via lldb-commits
https://github.com/labath edited https://github.com/llvm/llvm-project/pull/146094 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Optimize identifier lookup in DIL (PR #146094)

2025-06-30 Thread Pavel Labath via lldb-commits
https://github.com/labath commented: Looks mostly good, I'm just not sure about this part: > or return any partial match found I'm not sure that's the right thing to do -- if there are multiple matches, how can we know we picked the one that the user wanted to see? It also doesn't seem like i

[Lldb-commits] [lldb] [LLDB] Update DIL to pass current 'frame var' tests. (PR #145055)

2025-06-30 Thread Pavel Labath via lldb-commits
@@ -191,12 +191,28 @@ ASTNodeUP DILParser::ParsePrimaryExpression() { return std::make_unique(loc, identifier); } + uint32_t loc = CurToken().GetLocation(); + std::string nested_name_specifier; + if (CurToken().Is(Token::l_paren)) { -m_dil_lexer.Advance(); -

[Lldb-commits] [lldb] [LLDB] Update DIL to pass current 'frame var' tests. (PR #145055)

2025-06-30 Thread Pavel Labath via lldb-commits
https://github.com/labath edited https://github.com/llvm/llvm-project/pull/145055 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Update DIL to pass current 'frame var' tests. (PR #145055)

2025-06-30 Thread Pavel Labath via lldb-commits
@@ -232,16 +248,16 @@ std::string DILParser::ParseNestedNameSpecifier() { m_dil_lexer.LookAhead(4).Is(Token::coloncolon)) { m_dil_lexer.Advance(4); - assert( - (CurToken().Is(Token::identifier) || CurToken().Is(Token::l_paren)) && - "Expec

[Lldb-commits] [lldb] [LLDB] Update DIL to pass current 'frame var' tests. (PR #145055)

2025-06-30 Thread Pavel Labath via lldb-commits
https://github.com/labath commented: It's better, but it still looks like there's an inlined copy of ParseIdExpression inside ParsePrimaryExpression. I'd be nice to avoid that as it's easy to forget the inlined version when updating ParseIdExpression (and the problem would show up on variables

[Lldb-commits] [lldb] [lldb] Delete unused DWARFDataExtractor methods (PR #146356)

2025-06-30 Thread Pavel Labath via lldb-commits
https://github.com/labath closed https://github.com/llvm/llvm-project/pull/146356 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 72b40f7 - [lldb] Delete unused DWARFDataExtractor methods (#146356)

2025-06-30 Thread via lldb-commits
Author: Pavel Labath Date: 2025-07-01T08:47:45+02:00 New Revision: 72b40f7c6437f63ea4d3ee5bbf45887f49cb0e20 URL: https://github.com/llvm/llvm-project/commit/72b40f7c6437f63ea4d3ee5bbf45887f49cb0e20 DIFF: https://github.com/llvm/llvm-project/commit/72b40f7c6437f63ea4d3ee5bbf45887f49cb0e20.diff

<    1   2