[Lldb-commits] [lldb] [lldb] Fix SWIG bug detection in CMake (PR #169212)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/169212 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Use AST nodes as Subscript and BitField arguments in DIL (PR #169363)

2025-11-28 Thread Ilia Kuklin via lldb-commits
https://github.com/kuilpd created https://github.com/llvm/llvm-project/pull/169363 Use AST nodes as Subscript and BitField arguments instead of bare integers. This enables using any supported expression as an array or bit index. >From 04720a744587cccd827b9c2bb23bcc0c3c4a1836 Mon Sep 17 00:00:0

[Lldb-commits] [lldb] 51fef12 - [lldb] Add const& to InstructionList parameter (#169342)

2025-11-28 Thread via lldb-commits
Author: Felipe de Azevedo Piovezan Date: 2025-11-24T16:41:09Z New Revision: 51fef127f29fe2225358396728d95e2d9e6af75e URL: https://github.com/llvm/llvm-project/commit/51fef127f29fe2225358396728d95e2d9e6af75e DIFF: https://github.com/llvm/llvm-project/commit/51fef127f29fe2225358396728d95e2d9e6af7

[Lldb-commits] [lldb] [lldb] Add const& to InstructionList parameter (PR #169342)

2025-11-28 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan closed https://github.com/llvm/llvm-project/pull/169342 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Use AST nodes as Subscript and BitField arguments in DIL (PR #169363)

2025-11-28 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Ilia Kuklin (kuilpd) Changes Use AST nodes as Subscript and BitField arguments instead of bare integers. This enables using any supported expression as an array or bit index. --- Patch is 20.31 KiB, truncated to 20.00 KiB below, full vers

[Lldb-commits] [clang] [clang-tools-extra] [flang] [lldb] [clang] Refactor to remove clangDriver dependency from clangFrontend and flangFrontend (PR #165277)

2025-11-28 Thread Shilei Tian via lldb-commits
shiltian wrote: This PR introduced a dependency cycle: ``` ninja: error: dependency cycle: lib/libclangDriver.so.22.0git -> lib/libclangFrontend.so.22.0git -> lib/libclangDriver.so.22.0git ``` https://github.com/llvm/llvm-project/pull/165277 ___ lldb

[Lldb-commits] [lldb] [lldb][NFC] Remove code dupl in favour of a named variable in UnwindAssemblyInstEmulation (PR #169369)

2025-11-28 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Felipe de Azevedo Piovezan (felipepiovezan) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/169369.diff 1 Files Affected: - (modified) lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp (

[Lldb-commits] [lldb] [lldb][NFC] Remove code dupl in favour of a named variable in UnwindAssemblyInstEmulation (PR #169369)

2025-11-28 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan created https://github.com/llvm/llvm-project/pull/169369 None >From 1e4b119c203aa5c703cc355addd5167b4037964b Mon Sep 17 00:00:00 2001 From: Felipe de Azevedo Piovezan Date: Mon, 24 Nov 2025 17:08:31 + Subject: [PATCH] [lldb][NFC] Remove code dupl in favour

[Lldb-commits] [clang] [clang-tools-extra] [flang] [lldb] [clang] Refactor to remove clangDriver dependency from clangFrontend and flangFrontend (PR #165277)

2025-11-28 Thread Naveen Seth Hanig via lldb-commits
naveen-seth wrote: Does this go away when doing a clean build? While working on this PR, I had the issue that cmake or ninja cache wasn't aware of when a dependency relation was removed, but only when one was added. (I suspect this might be it, because the LLVM buildbot didn't fail with `-DBUI

[Lldb-commits] [lldb] [lldb][windows] make PseudoTerminal::GetPTY return a shared pointer (PR #168730)

2025-11-28 Thread Charles Zablit via lldb-commits
charles-zablit wrote: Closing this patch as, as @adrian-prantl said, this could be a much smaller change by either having a new API which returns a shared pointer or using `shared_from_this`. https://github.com/llvm/llvm-project/pull/168730 ___ lldb-

[Lldb-commits] [lldb] [lldb][NFC] Remove code dupl in favour of a named variable in UnwindAssemblyInstEmulation (PR #169369)

2025-11-28 Thread Ebuka Ezike via lldb-commits
@@ -212,11 +212,10 @@ bool UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly( if (m_curr_row_modified) { // Save the modified row if we don't already have a CFI row in the // current address - if (saved_unwind_states.count(current_offset +

[Lldb-commits] [lldb] [lldb][windows] make PseudoTerminal::GetPTY return a shared pointer (PR #168730)

2025-11-28 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit closed https://github.com/llvm/llvm-project/pull/168730 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] c1f24a5 - [windows] improve python3.dll load check (#168864)

2025-11-28 Thread via lldb-commits
Author: Charles Zablit Date: 2025-11-24T18:40:45+01:00 New Revision: c1f24a5205364686213a23182dc45df9c2383360 URL: https://github.com/llvm/llvm-project/commit/c1f24a5205364686213a23182dc45df9c2383360 DIFF: https://github.com/llvm/llvm-project/commit/c1f24a5205364686213a23182dc45df9c2383360.diff

[Lldb-commits] [lldb] [windows] improve python3.dll load check (PR #168864)

2025-11-28 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit closed https://github.com/llvm/llvm-project/pull/168864 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add multi-session support with shared debugger instances (PR #163653)

2025-11-28 Thread Janet Yang via lldb-commits
https://github.com/qxy11 closed https://github.com/llvm/llvm-project/pull/163653 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix CxxMethodName Parser on return type (PR #169652)

2025-11-28 Thread David Peixotto via lldb-commits
@@ -481,18 +481,22 @@ bool CPlusPlusLanguage::CxxMethodName::TrySimplifiedParse() { m_basename = full.substr(basename_begin, basename_end - basename_begin); } -if (IsTrivialBasename(m_basename)) { +// if the context has a white space it may have a return typ

[Lldb-commits] [lldb] [lldb] Fix CxxMethodName Parser on return type (PR #169652)

2025-11-28 Thread David Peixotto via lldb-commits
@@ -481,18 +481,22 @@ bool CPlusPlusLanguage::CxxMethodName::TrySimplifiedParse() { m_basename = full.substr(basename_begin, basename_end - basename_begin); } -if (IsTrivialBasename(m_basename)) { +// if the context has a white space it may have a return typ

[Lldb-commits] [lldb] a059afa - [lldb] Fix reading 32-bit signed integers (#169150)

2025-11-28 Thread via lldb-commits
Author: Igor Kudrin Date: 2025-11-26T10:49:49-08:00 New Revision: a059afafde068773693c1fab4d89c208b1437f76 URL: https://github.com/llvm/llvm-project/commit/a059afafde068773693c1fab4d89c208b1437f76 DIFF: https://github.com/llvm/llvm-project/commit/a059afafde068773693c1fab4d89c208b1437f76.diff L

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add multi-session support with shared debugger instances (PR #163653)

2025-11-28 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `cross-project-tests-sie-ubuntu` running on `doug-worker-1a` while building `lldb,llvm` at step 6 "test-build-unified-tree-check-cross-project". Full details are available at: https://lab.llvm.org/buildbot/#/builders/181/build

[Lldb-commits] [lldb] [lldb] Fix reading 32-bit signed integers (PR #169150)

2025-11-28 Thread Igor Kudrin via lldb-commits
https://github.com/igorkudrin closed https://github.com/llvm/llvm-project/pull/169150 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add multi-session support with shared debugger instances (PR #163653)

2025-11-28 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `cross-project-tests-sie-ubuntu-dwarf5` running on `doug-worker-1b` while building `lldb,llvm` at step 6 "test-build-unified-tree-check-cross-project". Full details are available at: https://lab.llvm.org/buildbot/#/builders/16

[Lldb-commits] [lldb] [lldb] Fix CxxMethodName Parser on return type (PR #169652)

2025-11-28 Thread Ebuka Ezike via lldb-commits
@@ -481,18 +481,22 @@ bool CPlusPlusLanguage::CxxMethodName::TrySimplifiedParse() { m_basename = full.substr(basename_begin, basename_end - basename_begin); } -if (IsTrivialBasename(m_basename)) { +// if the context has a white space it may have a return typ

[Lldb-commits] [lldb] [lldb] Fix CxxMethodName Parser on return type (PR #169652)

2025-11-28 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper edited https://github.com/llvm/llvm-project/pull/169652 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Saleem Abdulrasool via lldb-commits
@@ -21,42 +21,41 @@ using namespace lldb; using namespace lldb_private; -static void CreateEnvironmentBuffer(const Environment &env, -std::vector &buffer) { - // The buffer is a list of null-terminated UTF-16 strings, followed by an - // e

[Lldb-commits] [lldb] a4d4277 - [lldb] [scripting bridge] 167388 chore: add api to return arch name for target (#168273)

2025-11-28 Thread via lldb-commits
Author: n2h9 Date: 2025-11-26T11:36:19-08:00 New Revision: a4d42775b9af0d961f71934e38342a9384534022 URL: https://github.com/llvm/llvm-project/commit/a4d42775b9af0d961f71934e38342a9384534022 DIFF: https://github.com/llvm/llvm-project/commit/a4d42775b9af0d961f71934e38342a9384534022.diff LOG: [ll

[Lldb-commits] [lldb] [lldb] [disassembler] chore: enhance VariableAnnotator to return structured data: introduce VariableAnnotator::AnnotateStructured method (PR #169408)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -286,6 +286,10 @@ bool Disassembler::ElideMixedSourceAndDisassemblyLine( return false; } +static constexpr const char *UndefLocation = "undef"; +static const std::string UndefLocationFormatted = +llvm::formatv("<{0}>", UndefLocation).str(); JDevlieghe

[Lldb-commits] [lldb] [lldb] [disassembler] chore: enhance VariableAnnotator to return structured data: introduce VariableAnnotator::AnnotateStructured method (PR #169408)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -300,16 +304,41 @@ bool Disassembler::ElideMixedSourceAndDisassemblyLine( // disassembled instruction stream, similar to how debug information // enhances source-level debugging. std::vector VariableAnnotator::Annotate(Instruction &inst) { + auto structured_annotations = An

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add multi-session support with shared debugger instances (PR #163653)

2025-11-28 Thread Greg Clayton via lldb-commits
clayborg wrote: @Michael137 any ideas on how to track down what is going wrong here? How do we run these tests? https://github.com/llvm/llvm-project/pull/163653 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/m

[Lldb-commits] [lldb] [lldb] [scripting bridge] 167388 chore: add api to return arch name for target (PR #168273)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/168273 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] [scripting bridge] 167388 chore: add api to return arch name for target (PR #168273)

2025-11-28 Thread via lldb-commits
github-actions[bot] wrote: @n2h9 Congratulations on having your first Pull Request (PR) merged into the LLVM Project! Your changes will be combined with recent changes from other authors, then tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a problem with a build, yo

[Lldb-commits] [lldb] [llvm] [lldb-dap] Add multi-session support with shared debugger instances (PR #163653)

2025-11-28 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-m68k-linux-cross` running on `suse-gary-m68k-cross` while building `lldb,llvm` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/27/builds/19518 Here is the relevant pi

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Saleem Abdulrasool via lldb-commits
@@ -21,42 +21,41 @@ using namespace lldb; using namespace lldb_private; -static void CreateEnvironmentBuffer(const Environment &env, -std::vector &buffer) { - // The buffer is a list of null-terminated UTF-16 strings, followed by an - // e

[Lldb-commits] [lldb] [lldb] [disassembler] chore: enhance VariableAnnotator to return structured data: introduce VariableAnnotator::AnnotateStructured method (PR #169408)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere commented: This generally looks good, just a few nits. https://github.com/llvm/llvm-project/pull/169408 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commi

[Lldb-commits] [lldb] [lldb] [disassembler] chore: enhance VariableAnnotator to return structured data: introduce VariableAnnotator::AnnotateStructured method (PR #169408)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -300,16 +304,41 @@ bool Disassembler::ElideMixedSourceAndDisassemblyLine( // disassembled instruction stream, similar to how debug information // enhances source-level debugging. std::vector VariableAnnotator::Annotate(Instruction &inst) { + auto structured_annotations = An

[Lldb-commits] [lldb] 684f64c - [lldb] [test-suite] fix typo in variable in darwin builder (#169254)

2025-11-28 Thread via lldb-commits
Author: n2h9 Date: 2025-11-26T11:35:32-08:00 New Revision: 684f64c0baca15c84e222c0f7c7455e8c505e575 URL: https://github.com/llvm/llvm-project/commit/684f64c0baca15c84e222c0f7c7455e8c505e575 DIFF: https://github.com/llvm/llvm-project/commit/684f64c0baca15c84e222c0f7c7455e8c505e575.diff LOG: [ll

[Lldb-commits] [lldb] [lldb][AIX] Added Kill() implementation (PR #169454)

2025-11-28 Thread Dhruv Srivastava via lldb-commits
https://github.com/DhruvSrivastavaX edited https://github.com/llvm/llvm-project/pull/169454 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][AIX] Added Kill() implementation (PR #169454)

2025-11-28 Thread Dhruv Srivastava via lldb-commits
@@ -187,7 +193,41 @@ Status NativeProcessAIX::Signal(int signo) { return Status("unsupported"); } Status NativeProcessAIX::Interrupt() { return Status("unsupported"); } -Status NativeProcessAIX::Kill() { return Status("unsupported"); } +Status NativeProcessAIX::Kill() { + +

[Lldb-commits] [flang] [lldb] [mlir] [NFC] Fix typo of `integer` (PR #169325)

2025-11-28 Thread Longsheng Mou via lldb-commits
https://github.com/CoTinker closed https://github.com/llvm/llvm-project/pull/169325 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] f817a1b - [NFC] Fix typo of `integer` (#169325)

2025-11-28 Thread via lldb-commits
Author: Longsheng Mou Date: 2025-11-25T16:06:13+08:00 New Revision: f817a1b0394b7f722b4bb13e9aeead5e177ff6d7 URL: https://github.com/llvm/llvm-project/commit/f817a1b0394b7f722b4bb13e9aeead5e177ff6d7 DIFF: https://github.com/llvm/llvm-project/commit/f817a1b0394b7f722b4bb13e9aeead5e177ff6d7.diff

[Lldb-commits] [lldb] [lldb][NFCI] Rewrite UnwindAssemblyInstEmulation in terms of a CFG visit (PR #169630)

2025-11-28 Thread David Spickett via lldb-commits
@@ -150,29 +152,38 @@ bool UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly( EmulateInstruction::InstructionCondition last_condition = EmulateInstruction::UnconditionalCondition; - for (const InstructionSP &inst : inst_list.Instructions()) { -if

[Lldb-commits] [lldb] [lldb][NFCI] Rewrite UnwindAssemblyInstEmulation in terms of a CFG visit (PR #169630)

2025-11-28 Thread Felipe de Azevedo Piovezan via lldb-commits
felipepiovezan wrote: It is the thanksgiving holiday in the US, so I will ping Jason next week https://github.com/llvm/llvm-project/pull/169630 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/ll

[Lldb-commits] [lldb] [lldb][NFCI] Rewrite UnwindAssemblyInstEmulation in terms of a CFG visit (PR #169630)

2025-11-28 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan updated https://github.com/llvm/llvm-project/pull/169630 >From 9295ef8614e7f2d14cb7d95c8d963e4128d5992c Mon Sep 17 00:00:00 2001 From: Felipe de Azevedo Piovezan Date: Wed, 26 Nov 2025 10:55:12 + Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9

[Lldb-commits] [lldb] [lldb][NFCI] Rewrite UnwindAssemblyInstEmulation in terms of a CFG visit (PR #169630)

2025-11-28 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan edited https://github.com/llvm/llvm-project/pull/169630 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][NFCI] Rewrite UnwindAssemblyInstEmulation in terms of a CFG visit (PR #169630)

2025-11-28 Thread Felipe de Azevedo Piovezan via lldb-commits
@@ -150,29 +152,38 @@ bool UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly( EmulateInstruction::InstructionCondition last_condition = EmulateInstruction::UnconditionalCondition; - for (const InstructionSP &inst : inst_list.Instructions()) { -if

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit updated https://github.com/llvm/llvm-project/pull/168733 >From 71c4fd1953dfa65a215ce347bee3c5d51db41e11 Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Wed, 19 Nov 2025 16:17:31 + Subject: [PATCH 1/3] [lldb][windows] refactor CreateProcessW setup ---

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Charles Zablit via lldb-commits
@@ -21,42 +21,41 @@ using namespace lldb; using namespace lldb_private; -static void CreateEnvironmentBuffer(const Environment &env, -std::vector &buffer) { - // The buffer is a list of null-terminated UTF-16 strings, followed by an - // e

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Charles Zablit via lldb-commits
@@ -21,42 +21,41 @@ using namespace lldb; using namespace lldb_private; -static void CreateEnvironmentBuffer(const Environment &env, -std::vector &buffer) { - // The buffer is a list of null-terminated UTF-16 strings, followed by an - // e

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Charles Zablit via lldb-commits
@@ -23,7 +26,33 @@ class ProcessLauncherWindows : public ProcessLauncher { protected: HANDLE GetStdioHandle(const ProcessLaunchInfo &launch_info, int fd); + + /// Create a UTF-16 environment block to use with CreateProcessW. + /// + /// The buffer is a sequence of null-te

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Charles Zablit via lldb-commits
@@ -23,7 +26,33 @@ class ProcessLauncherWindows : public ProcessLauncher { protected: HANDLE GetStdioHandle(const ProcessLaunchInfo &launch_info, int fd); + + /// Create a UTF-16 environment block to use with CreateProcessW. + /// + /// The buffer is a sequence of null-te

[Lldb-commits] [lldb] [lldb] Use AST nodes as Subscript and BitField arguments in DIL (PR #169363)

2025-11-28 Thread Ilia Kuklin via lldb-commits
kuilpd wrote: @Michael137 @jimingham Could you please take a look at this patch? It should be fairly straightforward. https://github.com/llvm/llvm-project/pull/169363 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi

[Lldb-commits] [lldb] [lldb] Fix ThreadPlanStepOut::DoPlanExplainsStop inspection of BreakpointSite (PR #169799)

2025-11-28 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Felipe de Azevedo Piovezan (felipepiovezan) Changes Suppose two threads are performing the exact same step out plan. They will both have an internal breakpoint set at their parent frame. Now supposed both of those breakpoints are in the sa

[Lldb-commits] [lldb] [lldb] Fix ThreadPlanStepOut::DoPlanExplainsStop inspection of BreakpointSite (PR #169799)

2025-11-28 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan created https://github.com/llvm/llvm-project/pull/169799 Suppose two threads are performing the exact same step out plan. They will both have an internal breakpoint set at their parent frame. Now supposed both of those breakpoints are in the same address (i.e.

[Lldb-commits] [lldb] [lldb] Fix ThreadPlanStepOut::DoPlanExplainsStop inspection of BreakpointSite (PR #169799)

2025-11-28 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan edited https://github.com/llvm/llvm-project/pull/169799 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] Add Windows release binary builds (PR #150793)

2025-11-28 Thread Tom Stellard via lldb-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/150793 >From 2bc5c1ae0c21ebc0bfa28777d19751fe2a811487 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 26 Jul 2025 12:27:08 -0700 Subject: [PATCH 01/65] Add Windows release binary builds --- .github/workflows/

[Lldb-commits] [lldb] [lldb] Fix CxxMethodName Parser on return type (PR #169652)

2025-11-28 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper updated https://github.com/llvm/llvm-project/pull/169652 >From a0f2bcd3b3361572d68e11b6ee3b4284bc97679b Mon Sep 17 00:00:00 2001 From: Ebuka Ezike Date: Wed, 26 Nov 2025 13:52:51 + Subject: [PATCH 1/3] [lldb] fix CxxMethodName Parser. The simplified parser incor

[Lldb-commits] [lldb] [lldb] Fix CxxMethodName Parser on return type (PR #169652)

2025-11-28 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper closed https://github.com/llvm/llvm-project/pull/169652 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 90e8889 - [lldb] Fix CxxMethodName Parser on return type (#169652)

2025-11-28 Thread via lldb-commits
Author: Ebuka Ezike Date: 2025-11-27T15:09:05Z New Revision: 90e8889a6394e29843ba903eff45ca03f877a6dd URL: https://github.com/llvm/llvm-project/commit/90e8889a6394e29843ba903eff45ca03f877a6dd DIFF: https://github.com/llvm/llvm-project/commit/90e8889a6394e29843ba903eff45ca03f877a6dd.diff LOG: [

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Charles Zablit via lldb-commits
@@ -21,42 +21,41 @@ using namespace lldb; using namespace lldb_private; -static void CreateEnvironmentBuffer(const Environment &env, -std::vector &buffer) { - // The buffer is a list of null-terminated UTF-16 strings, followed by an - // e

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Charles Zablit via lldb-commits
@@ -23,7 +26,33 @@ class ProcessLauncherWindows : public ProcessLauncher { protected: HANDLE GetStdioHandle(const ProcessLaunchInfo &launch_info, int fd); + + /// Create a UTF-16 environment block to use with CreateProcessW. + /// + /// The buffer is a sequence of null-te

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit updated https://github.com/llvm/llvm-project/pull/168733 >From 71c4fd1953dfa65a215ce347bee3c5d51db41e11 Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Wed, 19 Nov 2025 16:17:31 + Subject: [PATCH 1/2] [lldb][windows] refactor CreateProcessW setup ---

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Charles Zablit via lldb-commits
@@ -21,42 +21,41 @@ using namespace lldb; using namespace lldb_private; -static void CreateEnvironmentBuffer(const Environment &env, -std::vector &buffer) { - // The buffer is a list of null-terminated UTF-16 strings, followed by an - // e

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Charles Zablit via lldb-commits
@@ -21,42 +21,41 @@ using namespace lldb; using namespace lldb_private; -static void CreateEnvironmentBuffer(const Environment &env, -std::vector &buffer) { - // The buffer is a list of null-terminated UTF-16 strings, followed by an - // e

[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)

2025-11-28 Thread Charles Zablit via lldb-commits
@@ -21,42 +21,41 @@ using namespace lldb; using namespace lldb_private; -static void CreateEnvironmentBuffer(const Environment &env, -std::vector &buffer) { - // The buffer is a list of null-terminated UTF-16 strings, followed by an - // e

[Lldb-commits] [lldb] [lldb] add a marker before skipped frames (PR #167550)

2025-11-28 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit updated https://github.com/llvm/llvm-project/pull/167550 >From 8615f3d2a10a106f45815f28340ae3e8770f6186 Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Tue, 11 Nov 2025 18:09:05 +0100 Subject: [PATCH 1/6] [lldb] add a marker before skipped frames --- lldb

[Lldb-commits] [lldb] [lldb] improve the heuristics for checking if a terminal supports Unicode (PR #168603)

2025-11-28 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit updated https://github.com/llvm/llvm-project/pull/168603 >From 65126c7ebb94bcee69ac513ec97e0227f4f2e1aa Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Tue, 18 Nov 2025 22:41:43 +0100 Subject: [PATCH 1/4] [lldb] improve the heuristics for checking if a term

[Lldb-commits] [lldb] [lldb-dap] Add data breakpoints for bytes (PR #167237)

2025-11-28 Thread Ebuka Ezike via lldb-commits
@@ -678,7 +678,7 @@ llvm::json::Value CreateThreadStopped(DAP &dap, lldb::SBThread &thread, } break; case lldb::eStopReasonWatchpoint: case lldb::eStopReasonInstrumentation: -body.try_emplace("reason", "breakpoint"); +body.try_emplace("reason", "data breakpoint")

[Lldb-commits] [lldb] 5ab3375 - [lldb-dap] Add multi-session support with shared debugger instances (#163653)

2025-11-28 Thread via lldb-commits
Author: Janet Yang Date: 2025-11-26T10:32:25-08:00 New Revision: 5ab3375b2cf461ab02704d129a1f4d5ba1a1e275 URL: https://github.com/llvm/llvm-project/commit/5ab3375b2cf461ab02704d129a1f4d5ba1a1e275 DIFF: https://github.com/llvm/llvm-project/commit/5ab3375b2cf461ab02704d129a1f4d5ba1a1e275.diff LO

[Lldb-commits] [lldb] [llvm] [DRAFT][lldb][windows] add Windows Virtual Console support (PR #168729)

2025-11-28 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit updated https://github.com/llvm/llvm-project/pull/168729 >From 3ac4774c5d45ef4830b6605d7de9e133a19a1c60 Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Wed, 26 Nov 2025 18:25:23 + Subject: [PATCH] [lldb][windows] add Windows Virtual Console support ---

[Lldb-commits] [lldb] [llvm] [DRAFT][lldb][windows] add Windows Virtual Console support (PR #168729)

2025-11-28 Thread Charles Zablit via lldb-commits
@@ -0,0 +1,61 @@ +//===-- ConnectionPseudoTerminalWindows.h *- C++ +//-*-===// charles-zablit wrote: Fixed, thanks! https://github.com/llvm/llvm-project/pull/168729 ___ lldb-commits mailing list

[Lldb-commits] [lldb] [llvm] [DRAFT][lldb][windows] add Windows Virtual Console support (PR #168729)

2025-11-28 Thread Charles Zablit via lldb-commits
@@ -542,6 +542,9 @@ static llvm::Error serveConnection( } int main(int argc, char *argv[]) { + int zzz = 0; + while (zzz) { + } charles-zablit wrote: Removed :) https://github.com/llvm/llvm-project/pull/168729

[Lldb-commits] [lldb] [LLDB][NativePDB] Look for PDBs in `target.debug-file-search-paths` (PR #169719)

2025-11-28 Thread via lldb-commits
https://github.com/Nerixyz created https://github.com/llvm/llvm-project/pull/169719 Similar to DWARF's DWO, we should look for PDBs in `target.debug-file-search-paths` if the PDB isn't at the original location or next to the executable. With this PR, the search order is as follows: 1. PDB pa

[Lldb-commits] [lldb] [lldb] Unify DW_OP_deref and DW_OP_deref_size implementations (PR #169587)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -861,84 +861,159 @@ ResolveLoadAddress(ExecutionContext *exe_ctx, lldb::ModuleSP &module_sp, return load_addr; } -static llvm::Error Evaluate_DW_OP_deref(DWARFExpression::Stack &stack, -ExecutionContext *exe_ctx, -

[Lldb-commits] [lldb] [lldb] Unify DW_OP_deref and DW_OP_deref_size implementations (PR #169587)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -861,84 +861,159 @@ ResolveLoadAddress(ExecutionContext *exe_ctx, lldb::ModuleSP &module_sp, return load_addr; } -static llvm::Error Evaluate_DW_OP_deref(DWARFExpression::Stack &stack, -ExecutionContext *exe_ctx, -

[Lldb-commits] [lldb] [lldb] Unify DW_OP_deref and DW_OP_deref_size implementations (PR #169587)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -861,84 +861,159 @@ ResolveLoadAddress(ExecutionContext *exe_ctx, lldb::ModuleSP &module_sp, return load_addr; } -static llvm::Error Evaluate_DW_OP_deref(DWARFExpression::Stack &stack, -ExecutionContext *exe_ctx, -

[Lldb-commits] [lldb] [lldb] Unify DW_OP_deref and DW_OP_deref_size implementations (PR #169587)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -861,84 +861,159 @@ ResolveLoadAddress(ExecutionContext *exe_ctx, lldb::ModuleSP &module_sp, return load_addr; } -static llvm::Error Evaluate_DW_OP_deref(DWARFExpression::Stack &stack, -ExecutionContext *exe_ctx, -

[Lldb-commits] [lldb] [lldb] Unify DW_OP_deref and DW_OP_deref_size implementations (PR #169587)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -861,84 +861,159 @@ ResolveLoadAddress(ExecutionContext *exe_ctx, lldb::ModuleSP &module_sp, return load_addr; } -static llvm::Error Evaluate_DW_OP_deref(DWARFExpression::Stack &stack, -ExecutionContext *exe_ctx, -

[Lldb-commits] [lldb] [lldb] Fix CxxMethodName Parser on return type (PR #169652)

2025-11-28 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper edited https://github.com/llvm/llvm-project/pull/169652 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Use InlHostByteOrder in RegisterValue::SetValueFromData (PR #169624)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= Message-ID: In-Reply-To: https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/169624 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/

[Lldb-commits] [lldb] [lldb] Unify DW_OP_deref and DW_OP_deref_size implementations (PR #169587)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -861,84 +861,159 @@ ResolveLoadAddress(ExecutionContext *exe_ctx, lldb::ModuleSP &module_sp, return load_addr; } -static llvm::Error Evaluate_DW_OP_deref(DWARFExpression::Stack &stack, -ExecutionContext *exe_ctx, -

[Lldb-commits] [lldb] [lldb] Unify DW_OP_deref and DW_OP_deref_size implementations (PR #169587)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -861,84 +861,159 @@ ResolveLoadAddress(ExecutionContext *exe_ctx, lldb::ModuleSP &module_sp, return load_addr; } -static llvm::Error Evaluate_DW_OP_deref(DWARFExpression::Stack &stack, -ExecutionContext *exe_ctx, -

[Lldb-commits] [lldb] [lldb] Unify DW_OP_deref and DW_OP_deref_size implementations (PR #169587)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -861,84 +861,159 @@ ResolveLoadAddress(ExecutionContext *exe_ctx, lldb::ModuleSP &module_sp, return load_addr; } -static llvm::Error Evaluate_DW_OP_deref(DWARFExpression::Stack &stack, -ExecutionContext *exe_ctx, -

[Lldb-commits] [lldb] [lldb][NFCI] Rewrite UnwindAssemblyInstEmulation in terms of a CFG visit (PR #169630)

2025-11-28 Thread Felipe de Azevedo Piovezan via lldb-commits
@@ -150,29 +152,38 @@ bool UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly( EmulateInstruction::InstructionCondition last_condition = EmulateInstruction::UnconditionalCondition; - for (const InstructionSP &inst : inst_list.Instructions()) { -if

[Lldb-commits] [lldb] [lldb] Unify DW_OP_deref and DW_OP_deref_size implementations (PR #169587)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -861,84 +861,159 @@ ResolveLoadAddress(ExecutionContext *exe_ctx, lldb::ModuleSP &module_sp, return load_addr; } -static llvm::Error Evaluate_DW_OP_deref(DWARFExpression::Stack &stack, -ExecutionContext *exe_ctx, -

[Lldb-commits] [lldb] [lldb] Fix CxxMethodName Parser on return type (PR #169652)

2025-11-28 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper updated https://github.com/llvm/llvm-project/pull/169652 >From a0f2bcd3b3361572d68e11b6ee3b4284bc97679b Mon Sep 17 00:00:00 2001 From: Ebuka Ezike Date: Wed, 26 Nov 2025 13:52:51 + Subject: [PATCH 1/2] [lldb] fix CxxMethodName Parser. The simplified parser incor

[Lldb-commits] [lldb] [LLDB][NativePDB] Look for PDBs in `target.debug-file-search-paths` (PR #169719)

2025-11-28 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: nerix (Nerixyz) Changes Similar to DWARF's DWO, we should look for PDBs in `target.debug-file-search-paths` if the PDB isn't at the original location or next to the executable. With this PR, the search order is as follows: 1. PDB path sp

[Lldb-commits] [lldb] [lldb] Use InlHostByteOrder in RegisterValue::SetValueFromData (PR #169624)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
Matej =?utf-8?q?Ko=C5=A1=C3=ADk?= Message-ID: In-Reply-To: JDevlieghere wrote: LGTM. Please let us know if you need one of us to merge this on your behalf. https://github.com/llvm/llvm-project/pull/169624 ___ lldb-commits mailing list lldb-commits@l

[Lldb-commits] [lldb] [lldb][NFCI] Rewrite UnwindAssemblyInstEmulation in terms of a CFG visit (PR #169630)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -150,29 +152,38 @@ bool UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly( EmulateInstruction::InstructionCondition last_condition = EmulateInstruction::UnconditionalCondition; - for (const InstructionSP &inst : inst_list.Instructions()) { -if

[Lldb-commits] [lldb] [lldb][NFCI] Rewrite UnwindAssemblyInstEmulation in terms of a CFG visit (PR #169630)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
@@ -150,29 +152,38 @@ bool UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly( EmulateInstruction::InstructionCondition last_condition = EmulateInstruction::UnconditionalCondition; - for (const InstructionSP &inst : inst_list.Instructions()) { -if

[Lldb-commits] [lldb] [lldb] [test-suite] fix typo in variable in darwin builder (PR #169254)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/169254 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] [scripting bridge] 167388 chore: add api to return arch name for target (PR #168273)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere closed https://github.com/llvm/llvm-project/pull/168273 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] [disassembler] chore: enhance VariableAnnotator to return structured data: introduce VariableAnnotator::AnnotateStructured method (PR #169408)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere edited https://github.com/llvm/llvm-project/pull/169408 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] [test-suite] fix typo in variable in darwin builder (PR #169254)

2025-11-28 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere closed https://github.com/llvm/llvm-project/pull/169254 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] [disassembler] chore: enhance VariableAnnotator to return structured data: introduce VariableAnnotator::AnnotateStructured method (PR #169408)

2025-11-28 Thread via lldb-commits
https://github.com/n2h9 edited https://github.com/llvm/llvm-project/pull/169408 ___ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] Add Windows release binary builds (PR #150793)

2025-11-28 Thread Tom Stellard via lldb-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/150793 >From 2bc5c1ae0c21ebc0bfa28777d19751fe2a811487 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 26 Jul 2025 12:27:08 -0700 Subject: [PATCH 01/61] Add Windows release binary builds --- .github/workflows/

[Lldb-commits] [lldb] [lldb] [disassembler] chore: enhance VariableAnnotator to return structured data: introduce VariableAnnotator::AnnotateStructured method (PR #169408)

2025-11-28 Thread via lldb-commits
@@ -300,16 +304,41 @@ bool Disassembler::ElideMixedSourceAndDisassemblyLine( // disassembled instruction stream, similar to how debug information // enhances source-level debugging. std::vector VariableAnnotator::Annotate(Instruction &inst) { + auto structured_annotations = An

[Lldb-commits] [lldb] [llvm] Add Windows release binary builds (PR #150793)

2025-11-28 Thread Tom Stellard via lldb-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/150793 >From 2bc5c1ae0c21ebc0bfa28777d19751fe2a811487 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 26 Jul 2025 12:27:08 -0700 Subject: [PATCH 01/62] Add Windows release binary builds --- .github/workflows/

[Lldb-commits] [lldb] [lldb] [disassembler] chore: enhance VariableAnnotator to return structured data: introduce VariableAnnotator::AnnotateStructured method (PR #169408)

2025-11-28 Thread via lldb-commits
@@ -300,16 +304,41 @@ bool Disassembler::ElideMixedSourceAndDisassemblyLine( // disassembled instruction stream, similar to how debug information // enhances source-level debugging. std::vector VariableAnnotator::Annotate(Instruction &inst) { + auto structured_annotations = An

[Lldb-commits] [lldb] [llvm] Add Windows release binary builds (PR #150793)

2025-11-28 Thread Tom Stellard via lldb-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/150793 >From 2bc5c1ae0c21ebc0bfa28777d19751fe2a811487 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 26 Jul 2025 12:27:08 -0700 Subject: [PATCH 01/63] Add Windows release binary builds --- .github/workflows/

[Lldb-commits] [lldb] [lldb] [disassembler] chore: enhance VariableAnnotator to return structured data: introduce VariableAnnotator::AnnotateStructured method (PR #169408)

2025-11-28 Thread via lldb-commits
n2h9 wrote: Also were updated since last review (while doing `auto` replacement): - add `const` statement for local variables where they are supposed to be read only; - add `move` statement where `push_back` `annotation_entity` to `annotations` vector. https://github.com/llvm/llvm-project/pu

[Lldb-commits] [lldb] [LLDB][PDB] Access object file through module (PR #169728)

2025-11-28 Thread via lldb-commits
https://github.com/Nerixyz created https://github.com/llvm/llvm-project/pull/169728 When a PDB is loaded through `target symbols add `, its `m_objectfile_sp` is an `ObjectFilePDB` instead of `ObjectFilePECOFF` (the debugged module). In both the native and DIA plugin, some paths assumed that `

  1   2   3   4   >