[Lldb-commits] [lldb] [lldb][TypeSystem] Enable colored AST dump (PR #86159)

2025-09-13 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/86159 >From e028a31433ef1dced308f485851b0eb3d43ff54c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Thu, 21 Mar 2024 17:45:23 + Subject: [PATCH 1/3] [lldb][TypeSystem] Enable colored AST dump This patch sets

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-13 Thread via lldb-commits
https://github.com/barsolo2000 edited https://github.com/llvm/llvm-project/pull/158161 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Added a check for the specialization existence (PR #154123)

2025-09-13 Thread via lldb-commits
tgs-sc wrote: > Based on the test failure in TestCppTemplateArguments.py maybe we need to > return the > ClassTemplateDeclSpecialization that we found, instead of returning nullptr. > We would create a new TypeSP for it, but > that shouldn't be an issue i think But check to nullptr in [DWARFAS

[Lldb-commits] [lldb] [LLDB] Add boolean literals to DIL. (PR #157992)

2025-09-13 Thread via lldb-commits
cmtice wrote: > Can we add a couple of tests for these to `TestFrameVarDILLiterals.py`? Done. :-) https://github.com/llvm/llvm-project/pull/157992 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinf

[Lldb-commits] [lldb] [lldb][ElfCore] Improve main executable detection in core files (PR #157170)

2025-09-13 Thread via lldb-commits
https://github.com/GeorgeHuyubo updated https://github.com/llvm/llvm-project/pull/157170 >From ce400ed7fc2ac60e76fb807d70744d1e42618b4c Mon Sep 17 00:00:00 2001 From: George Hu Date: Fri, 5 Sep 2025 13:23:48 -0700 Subject: [PATCH] [lldb][ElfCore] Improve main executable detection in core files

[Lldb-commits] [lldb] [LLDB] Fix 64 bit support for CIE and FDE handling in DWARFCallFrameInfo (PR #158350)

2025-09-13 Thread Andrew Gontarek via lldb-commits
https://github.com/agontarek created https://github.com/llvm/llvm-project/pull/158350 - Introduced a new helper function `IsCIEMarker` to determine if a given `cie_id` indicates a CIE (Common Information Entry) or FDE (Frame Description Entry). - New helper function can now correctly identify

[Lldb-commits] [lldb] [LLDB] Require DIA SDK for testing the PDB plugin-selection setting (PR #158284)

2025-09-13 Thread David Spickett via lldb-commits
@@ -34,6 +36,7 @@ config.have_lldb_server = @LLDB_TOOL_LLDB_SERVER_BUILD@ config.lldb_system_debugserver = @LLDB_USE_SYSTEM_DEBUGSERVER@ config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@" config.lldb_has_lldbrpc = @LLDB_BUILD_LLDBRPC@ +config.have_dia_sdk = lit.util.pythonize_b

[Lldb-commits] [lldb] [lldb][ElfCore] Improve main executable detection in core files (PR #157170)

2025-09-13 Thread via lldb-commits
https://github.com/GeorgeHuyubo updated https://github.com/llvm/llvm-project/pull/157170 >From 44cb5f6aca9ce2ad9ed49a3022c2ae79fc2f16f1 Mon Sep 17 00:00:00 2001 From: George Hu Date: Fri, 5 Sep 2025 13:23:48 -0700 Subject: [PATCH] [lldb][ElfCore] Improve main executable detection in core files

[Lldb-commits] [lldb] [lldb][TypeSystem] Enable colored AST dump (PR #86159)

2025-09-13 Thread Michael Buch via lldb-commits
Michael137 wrote: > You can't get from a TypeSystem to a Target directly, because TypeSystem's > live in Modules and Modules live outside any particular target in the global > module cache. Maybe you need to pass this in to the call to dump the functions Ended up taking this approach https://

[Lldb-commits] [lldb] [lldb][TypeSystem] Enable colored AST dump (PR #86159)

2025-09-13 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/86159 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Require DIA SDK for testing the PDB plugin-selection setting (PR #158284)

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

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-13 Thread via lldb-commits
https://github.com/barsolo2000 updated https://github.com/llvm/llvm-project/pull/158161 >From 827f68dcc9b6e207ff324f1be353561ee10892d1 Mon Sep 17 00:00:00 2001 From: Bar Soloveychik Date: Thu, 11 Sep 2025 14:06:05 -0700 Subject: [PATCH 1/5] RISCV unwinding enable --- lldb/include/lldb/Core/Op

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-13 Thread via lldb-commits
https://github.com/barsolo2000 updated https://github.com/llvm/llvm-project/pull/158161 >From 827f68dcc9b6e207ff324f1be353561ee10892d1 Mon Sep 17 00:00:00 2001 From: Bar Soloveychik Date: Thu, 11 Sep 2025 14:06:05 -0700 Subject: [PATCH 1/4] RISCV unwinding enable --- lldb/include/lldb/Core/Op

[Lldb-commits] [lldb] [LLDB] Require DIA SDK for testing the PDB plugin-selection setting (PR #158284)

2025-09-13 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-remote-linux-ubuntu` running on `as-builder-9` while building `lldb` at step 16 "test-check-lldb-api". Full details are available at: https://lab.llvm.org/buildbot/#/builders/195/builds/14547 Here is the relevant piece

[Lldb-commits] [lldb] [LLDB] Require DIA SDK for testing the PDB plugin-selection setting (PR #158284)

2025-09-13 Thread via lldb-commits
https://github.com/Nerixyz auto_merge_enabled https://github.com/llvm/llvm-project/pull/158284 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Require DIA SDK for testing the PDB plugin-selection setting (PR #158284)

2025-09-13 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/158284 >From 9990fae1d43641a1868e3df641f346873ce8f78e Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Fri, 12 Sep 2025 14:08:33 +0200 Subject: [PATCH 1/2] [LLDB] Require DIA SDK for testing the PDB plugin selection setti

[Lldb-commits] [lldb] [LLDB] Require DIA SDK for testing the PDB plugin-selection setting (PR #158284)

2025-09-13 Thread via lldb-commits
https://github.com/Nerixyz closed https://github.com/llvm/llvm-project/pull/158284 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] b31f8cb - [LLDB] Require DIA SDK for testing the PDB plugin-selection setting (#158284)

2025-09-13 Thread via lldb-commits
Author: nerix Date: 2025-09-13T09:15:52Z New Revision: b31f8cb1c9108f6b45c8929df27b61396a4ccd45 URL: https://github.com/llvm/llvm-project/commit/b31f8cb1c9108f6b45c8929df27b61396a4ccd45 DIFF: https://github.com/llvm/llvm-project/commit/b31f8cb1c9108f6b45c8929df27b61396a4ccd45.diff LOG: [LLDB]

[Lldb-commits] [lldb] [lldb/docs] Breakdown python reference into multiple files (PR #158331)

2025-09-13 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. LGTM. There's tons of opportunity for improvement but that shouldn't block this PR. https://github.com/llvm/llvm-project/pull/158331 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [lldb] [lldb] Remove unused swig macro (NFC) (PR #157905)

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

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-13 Thread David Peixotto via lldb-commits
@@ -1745,6 +1831,61 @@ EmulateInstructionRISCV::GetRegisterInfo(RegisterKind reg_kind, return array[reg_index]; } +bool EmulateInstructionRISCV::SetInstruction(const Opcode &opcode, + const Address &inst_addr, +

[Lldb-commits] [lldb] [lldb] Track CFA pointer metadata in StackID (PR #157498)

2025-09-13 Thread Felipe de Azevedo Piovezan via lldb-commits
felipepiovezan wrote: I'm going to go ahead and merge this based on Jason's approval and the general agreement in comments, but happy to address any other feedback. https://github.com/llvm/llvm-project/pull/157498 ___ lldb-commits mailing list lldb-co

[Lldb-commits] [lldb] [lldb/docs] Breakdown python reference into multiple files (PR #158331)

2025-09-13 Thread Med Ismail Bennani via lldb-commits
medismailben wrote: > > The one downside to this is that any links that we've handed out to the > > documentation in the past will get broken. Is there any way that we can > > keep the links that used to be in python-reference.rst, but have them > > redirected to the new files? > > Other than

[Lldb-commits] [lldb] [LLDB][SBProgress] Quick fix to the progress formatting (PR #157561)

2025-09-13 Thread Jacob Lalonde via lldb-commits
Jlalond wrote: @JDevlieghere FYI -- Related I might try to see if I can create a local script to generate the html to view these doc strings. I still struggle with Swigs formatting. https://github.com/llvm/llvm-project/pull/157561 ___ lldb-commits ma

[Lldb-commits] [lldb] 50b0c34 - [lldb] Fix assertion when opcodes are exactly the length of the buffer (#157196)

2025-09-13 Thread via lldb-commits
Author: Daniel Sanders Date: 2025-09-08T10:37:00-07:00 New Revision: 50b0c34dfb3140f3fce08e0435973780617f8966 URL: https://github.com/llvm/llvm-project/commit/50b0c34dfb3140f3fce08e0435973780617f8966 DIFF: https://github.com/llvm/llvm-project/commit/50b0c34dfb3140f3fce08e0435973780617f8966.diff

[Lldb-commits] [lldb] [LLDB] Fix GetIndexOfChildMemberWithName to handle anonymous struct in base classes (PR #158256)

2025-09-13 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Kiva (imkiva) Changes Fixes https://github.com/llvm/llvm-project/issues/158131 Similar to https://github.com/llvm/llvm-project/pull/138487 but also search for child indices in the base classes. --- Full diff: https://github.com/llvm/llvm-

[Lldb-commits] [lldb] [LLDB] Fix GetIndexOfChildMemberWithName to handle anonymous struct in base classes (PR #158256)

2025-09-13 Thread via lldb-commits
https://github.com/imkiva updated https://github.com/llvm/llvm-project/pull/158256 >From 8e00d31ce15eb3255c7bafe924754752dd563fd3 Mon Sep 17 00:00:00 2001 From: imkiva Date: Fri, 12 Sep 2025 16:14:23 +0800 Subject: [PATCH 1/4] [LLDB] Fix `GetIndexOfChildMemberWithName` to handle anonymous stru

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Added a check for the specialization existence (PR #154123)

2025-09-13 Thread via lldb-commits
https://github.com/tgs-sc updated https://github.com/llvm/llvm-project/pull/154123 >From a2390655ad8a77ef9f1087e24089e36d8925e604 Mon Sep 17 00:00:00 2001 From: Timur Golubovich Date: Mon, 18 Aug 2025 17:29:01 +0300 Subject: [PATCH 1/2] [lldb][DWARFASTParserClang] Added a check for the special

[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

2025-09-13 Thread via lldb-commits
jimingham wrote: Huh, that Linux run failed building libcxx somewhere, which this patch doesn't touch. Maybe I got unlucky with the state of the tree when I made the PR. Let's see if updating helps... https://github.com/llvm/llvm-project/pull/158128 __

[Lldb-commits] [lldb] [lldb] Track CFA pointer metadata in StackID (PR #157498)

2025-09-13 Thread Felipe de Azevedo Piovezan via lldb-commits
@@ -59,9 +63,12 @@ class StackID { /// The call frame address (stack pointer) value at the beginning of the /// function that uniquely identifies this frame (along with m_symbol_scope - /// below) + /// below). felipepiovezan wrote: Not sure how this sn

[Lldb-commits] [lldb] [lldb-dap] Add command line option `--connection-timeout` (PR #156803)

2025-09-13 Thread Roy Shi via lldb-commits
https://github.com/royitaqi updated https://github.com/llvm/llvm-project/pull/156803 >From 9af1b0029e3e19b521d472d8c94596709f990166 Mon Sep 17 00:00:00 2001 From: Roy Shi Date: Wed, 3 Sep 2025 22:23:20 -0700 Subject: [PATCH 1/7] [lldb-dap] Add optional TTL argument when using --connection ---

[Lldb-commits] [lldb] [lldb-dap] Add `debugAdapterEnv` for `attach` requests & improve regex (PR #157980)

2025-09-13 Thread Roy Shi via lldb-commits
https://github.com/royitaqi updated https://github.com/llvm/llvm-project/pull/157980 >From 265efab57c62479bb296bd59e0673d9935e9767f Mon Sep 17 00:00:00 2001 From: Roy Shi Date: Wed, 10 Sep 2025 17:38:53 -0700 Subject: [PATCH 1/3] [lldb-dap] Add missing `debugAdapterEnv` into `attach` configura

[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

2025-09-13 Thread Med Ismail Bennani via lldb-commits
@@ -0,0 +1,45 @@ +import lldb + +class FacadeExample: +def __init__(self, bkpt, extra_args, dict): +self.bkpt = bkpt +self.extra_args = extra_args +self.base_sym = None +self.facade_locs = [] +self.facade_locs_desc = [] +self.cur

[Lldb-commits] [lldb] 20e55f3 - [lldb][NFC] Mark API test skipIfRemote to avoid a bot

2025-09-13 Thread Jason Molenda via lldb-commits
Author: Jason Molenda Date: 2025-09-11T14:19:44-07:00 New Revision: 20e55f359dc424fa23392ad7ecd766294b60accc URL: https://github.com/llvm/llvm-project/commit/20e55f359dc424fa23392ad7ecd766294b60accc DIFF: https://github.com/llvm/llvm-project/commit/20e55f359dc424fa23392ad7ecd766294b60accc.diff

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] AST: remove DependentTemplateSpecializationType (PR #158109)

2025-09-13 Thread Nathan Ridge via lldb-commits
@@ -222,7 +222,6 @@ RegistryMaps::RegistryMaps() { REGISTER_MATCHER(declRefExpr); REGISTER_MATCHER(dependentNameType); REGISTER_MATCHER(dependentScopeDeclRefExpr); - REGISTER_MATCHER(dependentTemplateSpecializationType); HighCommander4 wrote: The `depen

[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

2025-09-13 Thread via lldb-commits
@@ -0,0 +1,45 @@ +import lldb + +class FacadeExample: +def __init__(self, bkpt, extra_args, dict): +self.bkpt = bkpt +self.extra_args = extra_args +self.base_sym = None +self.facade_locs = [] +self.facade_locs_desc = [] +self.cur

[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

2025-09-13 Thread Med Ismail Bennani via lldb-commits
@@ -0,0 +1,45 @@ +import lldb + +class FacadeExample: +def __init__(self, bkpt, extra_args, dict): +self.bkpt = bkpt +self.extra_args = extra_args +self.base_sym = None +self.facade_locs = [] +self.facade_locs_desc = [] +self.cur

[Lldb-commits] [lldb] 1e17113 - [LLDB][SBProgress] Quick fix to the progress formatting (#157561)

2025-09-13 Thread via lldb-commits
Author: Jacob Lalonde Date: 2025-09-08T21:52:41Z New Revision: 1e1711347f59956ecf06d4b3050cb248a06661b7 URL: https://github.com/llvm/llvm-project/commit/1e1711347f59956ecf06d4b3050cb248a06661b7 DIFF: https://github.com/llvm/llvm-project/commit/1e1711347f59956ecf06d4b3050cb248a06661b7.diff LOG:

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] AST: remove DependentTemplateSpecializationType (PR #158109)

2025-09-13 Thread Corentin Jabot via lldb-commits
@@ -222,7 +222,6 @@ RegistryMaps::RegistryMaps() { REGISTER_MATCHER(declRefExpr); REGISTER_MATCHER(dependentNameType); REGISTER_MATCHER(dependentScopeDeclRefExpr); - REGISTER_MATCHER(dependentTemplateSpecializationType); cor3ntin wrote: I was not able t

[Lldb-commits] [lldb] [lldb-dap] Add command line option `--connection-timeout` (PR #156803)

2025-09-13 Thread Roy Shi via lldb-commits
https://github.com/royitaqi edited https://github.com/llvm/llvm-project/pull/156803 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Add invalidated event (PR #157530)

2025-09-13 Thread Druzhkov Sergei via lldb-commits
@@ -32,6 +34,9 @@ void SendContinuedEvent(DAP &dap); void SendProcessExitedEvent(DAP &dap, lldb::SBProcess &process); +void SendInvalidatedEvent( DrSergei wrote: Thanks, fixed https://github.com/llvm/llvm-project/pull/157530

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-13 Thread via lldb-commits
https://github.com/barsolo2000 updated https://github.com/llvm/llvm-project/pull/158161 >From 827f68dcc9b6e207ff324f1be353561ee10892d1 Mon Sep 17 00:00:00 2001 From: Bar Soloveychik Date: Thu, 11 Sep 2025 14:06:05 -0700 Subject: [PATCH 1/2] RISCV unwinding enable --- lldb/include/lldb/Core/Op

[Lldb-commits] [lldb] [lldb/docs] Breakdown python reference into multiple files (PR #158331)

2025-09-13 Thread Dave Lee via lldb-commits
@@ -0,0 +1,420 @@ +# Writing Custom Commands + +### Create a new command using a Python function + +Python functions can be used to create new LLDB command interpreter commands, +which will work like all the natively defined lldb commands. This provides a +very flexible and easy w

[Lldb-commits] [lldb] [lldb/docs] Breakdown python reference into multiple files (PR #158331)

2025-09-13 Thread Dave Lee via lldb-commits
@@ -0,0 +1,59 @@ +# Accessing Script Documentation + +The LLDB API is contained in a python module named lldb. A useful resource when +writing Python extensions is the lldb Python classes reference guide. + +The documentation is also accessible in an interactive debugger session w

[Lldb-commits] [lldb] [lldb] Fixed UB in CPlusPlusLanguage plug-in (PR #158304)

2025-09-13 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dmitry Vasilyev (slydiman) Changes C++11 allows the use of Universal Character Names (UCNs) in identifiers, including function names. According to the spec the behavior of std::isalpha(ch) and std::isalnum(ch) is undefined if the argument

[Lldb-commits] [lldb] [lldb/docs] Breakdown python reference into multiple files (PR #158331)

2025-09-13 Thread Dave Lee via lldb-commits
https://github.com/kastiglione edited https://github.com/llvm/llvm-project/pull/158331 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Require DIA SDK for testing the PDB plugin-selection setting (PR #158284)

2025-09-13 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett commented: Agree with the idea, thanks for continuing to work on this topic. https://github.com/llvm/llvm-project/pull/158284 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mail

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] AST: remove DependentTemplateSpecializationType (PR #158109)

2025-09-13 Thread Matheus Izvekov via lldb-commits
https://github.com/mizvekov closed https://github.com/llvm/llvm-project/pull/158109 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-13 Thread via lldb-commits
@@ -230,10 +230,36 @@ Load(EmulateInstructionRISCV &emulator, I inst, uint64_t (*extend)(E)) { auto addr = LoadStoreAddr(emulator, inst); if (!addr) return false; - return transformOptional( - emulator.ReadMem(*addr), - [&](T t) { return inst.r

[Lldb-commits] [lldb] [lldb/docs] Breakdown python reference into multiple files (PR #158331)

2025-09-13 Thread Med Ismail Bennani via lldb-commits
https://github.com/medismailben edited https://github.com/llvm/llvm-project/pull/158331 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 5d088ba - [lldb] Track CFA pointer metadata in StackID (#157498)

2025-09-13 Thread via lldb-commits
Author: Felipe de Azevedo Piovezan Date: 2025-09-12T09:17:48-07:00 New Revision: 5d088ba30440d37f180f6b2e2f2fcc25d5c77018 URL: https://github.com/llvm/llvm-project/commit/5d088ba30440d37f180f6b2e2f2fcc25d5c77018 DIFF: https://github.com/llvm/llvm-project/commit/5d088ba30440d37f180f6b2e2f2fcc25d

[Lldb-commits] [lldb] [lldb] Track CFA pointer metadata in StackID (PR #157498)

2025-09-13 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan closed https://github.com/llvm/llvm-project/pull/157498 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Add invalidated event (PR #157530)

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

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-12 Thread David Peixotto via lldb-commits
@@ -230,10 +230,36 @@ Load(EmulateInstructionRISCV &emulator, I inst, uint64_t (*extend)(E)) { auto addr = LoadStoreAddr(emulator, inst); if (!addr) return false; - return transformOptional( - emulator.ReadMem(*addr), - [&](T t) { return inst.r

[Lldb-commits] [lldb] [lldb-dap] Adding exception handling for dap server disconnect and terminations in lldbdap_testcase.py (PR #155335)

2025-09-12 Thread John Harrison via lldb-commits
@@ -450,6 +450,20 @@ def disassemble(self, threadId=None, frameIndex=None): return disassembled_instructions, disassembled_instructions[memoryReference] +def dapCleanup(self, disconnectAutomatically): +if disconnectAutomatically: +try: ---

[Lldb-commits] [lldb] 83b48b1 - [lldb][test] Disable more of TestDAP_attach.py on Windows

2025-09-12 Thread David Spickett via lldb-commits
Author: David Spickett Date: 2025-09-12T10:21:04Z New Revision: 83b48b13f3a70bf56053e92593270c519859cfd7 URL: https://github.com/llvm/llvm-project/commit/83b48b13f3a70bf56053e92593270c519859cfd7 DIFF: https://github.com/llvm/llvm-project/commit/83b48b13f3a70bf56053e92593270c519859cfd7.diff LOG

[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

2025-09-12 Thread via lldb-commits
@@ -0,0 +1,45 @@ +import lldb + +class FacadeExample: +def __init__(self, bkpt, extra_args, dict): +self.bkpt = bkpt +self.extra_args = extra_args +self.base_sym = None +self.facade_locs = [] +self.facade_locs_desc = [] +self.cur

[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

2025-09-12 Thread Med Ismail Bennani via lldb-commits
https://github.com/medismailben edited https://github.com/llvm/llvm-project/pull/158128 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][NativePDB] Mark blocks as parsed after parsing (PR #157493)

2025-09-12 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu approved this pull request. https://github.com/llvm/llvm-project/pull/157493 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] NFC: SBThread should not be the one to compute StopReasonData. (PR #157577)

2025-09-12 Thread via lldb-commits
https://github.com/jimingham updated https://github.com/llvm/llvm-project/pull/157577 >From 5d0f326ffda50883d4bd20463aa80f23b5ccf5ac Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Mon, 8 Sep 2025 16:53:40 -0700 Subject: [PATCH 1/2] NFC: SBThread should not be the one to compute StopReasonData

[Lldb-commits] [lldb] [lldb] Change directory creation logic in framework-header-fix (PR #158355)

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Alex Langford (bulbazord) Changes It's possible for this logic to fail if the build system runs this script in parallel. One instance could create the directory in between another instance's checking of its existence and attempt at creatio

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-12 Thread via lldb-commits
https://github.com/barsolo2000 ready_for_review https://github.com/llvm/llvm-project/pull/158161 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] AST: remove DependentTemplateSpecializationType (PR #158109)

2025-09-12 Thread Corentin Jabot via lldb-commits
https://github.com/cor3ntin commented: This is a neat change. I only did a cursory review for now but I like the direct and did not spot anything jaring. We do need to be a bit more careful about the AST matcher changes though https://github.com/llvm/llvm-project/pull/158109 __

[Lldb-commits] [lldb] [lldb] Change directory creation logic in framework-header-fix (PR #158355)

2025-09-12 Thread Alex Langford via lldb-commits
https://github.com/bulbazord created https://github.com/llvm/llvm-project/pull/158355 It's possible for this logic to fail if the build system runs this script in parallel. One instance could create the directory in between another instance's checking of its existence and attempt at creation.

[Lldb-commits] [lldb] Fix GetDIE is outside of its CU error from .debug_names (PR #157574)

2025-09-12 Thread David Peixotto via lldb-commits
@@ -0,0 +1,29 @@ +/// Check that LLDB does not emit "GetDIE for DIE {{0x[0-9a-f]+}} is outside of its CU" +/// error message when user is searching for a matching symbol from .debug_names +/// and fail to locate the corresponding .dwo file. + +/// -gsplit-dwarf is supported only

[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

2025-09-12 Thread Med Ismail Bennani via lldb-commits
@@ -529,6 +561,20 @@ class Breakpoint : public std::enable_shared_from_this, m_name_list.erase(name_to_remove); } + enum TypeDisplay { medismailben wrote: Can we add a comment for this ? https://github.com/llvm/llvm-project/pull/158128

[Lldb-commits] [lldb] [LLDB][NVIDIA] Add NVPTX architecture support (PR #158334)

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Andrew Gontarek (agontarek) Changes - Introduced a new method `IsNVPTX()` in `ArchSpec` to check for NVPTX architecture. - Implemented the corresponding method in `ArchSpec.cpp` to utilize the existing triple architecture checks. --- Full

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-12 Thread Greg Clayton via lldb-commits
@@ -737,11 +799,44 @@ class Executor { bool operator()(SH inst) { return Store(m_emu, inst); } bool operator()(SW inst) { return Store(m_emu, inst); } bool operator()(ADDI inst) { -return transformOptional(inst.rs1.ReadI64(m_emu), - [&](int

[Lldb-commits] [lldb] [lldb-dap] Fix test: TestDAP_server.py (PR #157924)

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Roy Shi (royitaqi) Changes See https://github.com/llvm/llvm-project/pull/156803#issuecomment-3275911510 for full context. TL;DR * In https://github.com/llvm/llvm-project/pull/156803, we see a builtbot failure for `TestDAP_server.py` on De

[Lldb-commits] [lldb] [lldb/docs] Breakdown python reference into multiple files (PR #158331)

2025-09-12 Thread Med Ismail Bennani via lldb-commits
@@ -0,0 +1,420 @@ +# Writing Custom Commands + +### Create a new command using a Python function + +Python functions can be used to create new LLDB command interpreter commands, +which will work like all the natively defined lldb commands. This provides a +very flexible and easy w

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-12 Thread via lldb-commits
https://github.com/barsolo2000 updated https://github.com/llvm/llvm-project/pull/158161 >From b459874ce7342627998d8e6ab2dc99ca8c7621f9 Mon Sep 17 00:00:00 2001 From: Bar Soloveychik Date: Thu, 11 Sep 2025 14:06:05 -0700 Subject: [PATCH 1/5] RISCV unwinding enable --- lldb/include/lldb/Core/Op

[Lldb-commits] [lldb] [LLDB] Add unary plus and minus to DIL (PR #155617)

2025-09-12 Thread Ilia Kuklin via lldb-commits
https://github.com/kuilpd updated https://github.com/llvm/llvm-project/pull/155617 >From 4d14bbb31d0411c45b95778d1659ccc416165be1 Mon Sep 17 00:00:00 2001 From: Ilia Kuklin Date: Mon, 4 Aug 2025 19:11:55 +0500 Subject: [PATCH 1/9] [LLDB] Add unary plus and minus to DIL --- lldb/include/lldb/V

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-12 Thread Greg Clayton via lldb-commits
@@ -242,9 +278,35 @@ Store(EmulateInstructionRISCV &emulator, I inst) { auto addr = LoadStoreAddr(emulator, inst); if (!addr) return false; - return transformOptional( - inst.rs2.Read(emulator), - [&](uint64_t rs2) { return emulator.WriteMem(*ad

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-12 Thread Greg Clayton via lldb-commits
clayborg wrote: I added some frequent editors of this file to the reviewers in case they have any comments. https://github.com/llvm/llvm-project/pull/158161 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailm

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-12 Thread via lldb-commits
@@ -1745,6 +1831,61 @@ EmulateInstructionRISCV::GetRegisterInfo(RegisterKind reg_kind, return array[reg_index]; } +bool EmulateInstructionRISCV::SetInstruction(const Opcode &opcode, + const Address &inst_addr, +

[Lldb-commits] [lldb] e2d9420 - Make flag-only options work in the ParsedCommand mode of adding commands (#157756)

2025-09-12 Thread via lldb-commits
Author: jimingham Date: 2025-09-10T09:27:29-07:00 New Revision: e2d9420272e2f479dc714706be5a4aa0a4b2c90d URL: https://github.com/llvm/llvm-project/commit/e2d9420272e2f479dc714706be5a4aa0a4b2c90d DIFF: https://github.com/llvm/llvm-project/commit/e2d9420272e2f479dc714706be5a4aa0a4b2c90d.diff LOG

[Lldb-commits] [lldb] [lldb-dap] Add invalidated event (PR #157530)

2025-09-12 Thread Druzhkov Sergei via lldb-commits
@@ -91,8 +94,13 @@ WriteMemoryRequestHandler::Run( if (bytes_written == 0) { return llvm::make_error(write_error.GetCString()); } - protocol::WriteMemoryResponseBody response; + WriteMemoryResponseBody response; response.bytesWritten = bytes_written; + + // Also s

[Lldb-commits] [lldb] [lldb-dap] Add command line option `--connection-timeout` (PR #156803)

2025-09-12 Thread Roy Shi via lldb-commits
https://github.com/royitaqi updated https://github.com/llvm/llvm-project/pull/156803 >From 9af1b0029e3e19b521d472d8c94596709f990166 Mon Sep 17 00:00:00 2001 From: Roy Shi Date: Wed, 3 Sep 2025 22:23:20 -0700 Subject: [PATCH 1/7] [lldb-dap] Add optional TTL argument when using --connection ---

[Lldb-commits] [lldb] [LLDB][SBProgress] Quick fix to the progress formatting (PR #157561)

2025-09-12 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond created https://github.com/llvm/llvm-project/pull/157561 Earlier today I was looking at the SBProgress documentation with a colleague and found another instance where the swig block wasn't formatting correctly. I've adjusted the docs slightly to fix this. I don't act

[Lldb-commits] [lldb] b574e63 - [lldb] Pass execution context to CompilerType::GetByteSize - in CommandObjectMemoryRead (NFC) (#157750)

2025-09-12 Thread via lldb-commits
Author: Dave Lee Date: 2025-09-10T09:53:54-07:00 New Revision: b574e63f9fd1adb52786f9dc03ec6f479229e1a7 URL: https://github.com/llvm/llvm-project/commit/b574e63f9fd1adb52786f9dc03ec6f479229e1a7 DIFF: https://github.com/llvm/llvm-project/commit/b574e63f9fd1adb52786f9dc03ec6f479229e1a7.diff LOG:

[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

2025-09-12 Thread via lldb-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff origin/main HEAD --extensions h,c,cpp -- lldb/test/API/functionalities/breakpoint/scr

[Lldb-commits] [lldb] [lldb] Fix undefined behavior (PR #158119)

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

[Lldb-commits] [lldb] Make flag-only options work in the ParsedCommand mode of adding commands (PR #157756)

2025-09-12 Thread via lldb-commits
https://github.com/jimingham closed https://github.com/llvm/llvm-project/pull/157756 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [NFC][lldb] Cleanup the ArchDefinitionEntry definitons. (PR #152618)

2025-09-12 Thread Greg Clayton via lldb-commits
https://github.com/clayborg closed https://github.com/llvm/llvm-project/pull/152618 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][NVIDIA] Add NVPTX architecture support (PR #158334)

2025-09-12 Thread Andrew Gontarek via lldb-commits
agontarek wrote: The buildbot failure is unrelated to this change. https://github.com/llvm/llvm-project/pull/158334 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

2025-09-12 Thread via lldb-commits
https://github.com/jimingham created https://github.com/llvm/llvm-project/pull/158128 This patch adds the notion of "Facade" locations which can be reported from a ScriptedResolver instead of the actual underlying breakpoint location for the breakpoint. Also add a "was_hit" method to the scri

[Lldb-commits] [lldb] [lldb/docs] Breakdown python reference into multiple files (PR #158331)

2025-09-12 Thread Med Ismail Bennani via lldb-commits
@@ -0,0 +1,420 @@ +# Writing Custom Commands + +### Create a new command using a Python function + +Python functions can be used to create new LLDB command interpreter commands, +which will work like all the natively defined lldb commands. This provides a +very flexible and easy w

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-12 Thread David Peixotto via lldb-commits
@@ -737,11 +792,42 @@ class Executor { bool operator()(SH inst) { return Store(m_emu, inst); } bool operator()(SW inst) { return Store(m_emu, inst); } bool operator()(ADDI inst) { -return transformOptional(inst.rs1.ReadI64(m_emu), - [&](int

[Lldb-commits] [lldb] [lldb-dap] Add command line option `--connection-timeout` (PR #156803)

2025-09-12 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo approved this pull request. awesome documentation! https://github.com/llvm/llvm-project/pull/156803 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commi

[Lldb-commits] [lldb] [lldb][test] Fix unordered-map test (PR #156033)

2025-09-12 Thread Michael Buch via lldb-commits
@@ -113,10 +113,10 @@ CompilerType lldb_private::formatters::LibcxxStdUnorderedMapSyntheticFrontEnd:: // wraps a std::pair. Peel away the internal wrapper type - whose structure is // of no value to users, to expose the std::pair. This matches the structure // returned

[Lldb-commits] [lldb] [lldb-dap] Add readOnly attribute for variables (PR #151884)

2025-09-12 Thread Druzhkov Sergei via lldb-commits
DrSergei wrote: @JDevlieghere Please take a look If you have time https://github.com/llvm/llvm-project/pull/151884 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Add invalidated event (PR #157530)

2025-09-12 Thread Druzhkov Sergei via lldb-commits
https://github.com/DrSergei updated https://github.com/llvm/llvm-project/pull/157530 >From a71a195cb42d59c0ad604419af76a4fcbe5f3b5a Mon Sep 17 00:00:00 2001 From: Druzhkov Sergei Date: Mon, 8 Sep 2025 21:14:21 +0300 Subject: [PATCH 1/3] [lldb-dap] Add invalidated event --- .../test/tools/lldb

[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

2025-09-12 Thread Med Ismail Bennani via lldb-commits
@@ -0,0 +1,45 @@ +import lldb + +class FacadeExample: +def __init__(self, bkpt, extra_args, dict): +self.bkpt = bkpt +self.extra_args = extra_args +self.base_sym = None +self.facade_locs = [] +self.facade_locs_desc = [] +self.cur

[Lldb-commits] [lldb] [lldb] Fix undefined behavior (PR #158119)

2025-09-12 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda approved this pull request. Tried a few different inputs and the old & new versions are producing the same results. https://github.com/llvm/llvm-project/pull/158119 ___ lldb-commits mailing list lldb-commits@lists.llvm.

[Lldb-commits] [lldb] 8774de8 - Reland"[lldb] Add count for errors of DWO files in statistics and combine DWO file count functions" (#156980)

2025-09-12 Thread via lldb-commits
Author: Ziyi Wang Date: 2025-09-09T09:02:17-07:00 New Revision: 8774de859957335243696a53a1417ba48abaf770 URL: https://github.com/llvm/llvm-project/commit/8774de859957335243696a53a1417ba48abaf770 DIFF: https://github.com/llvm/llvm-project/commit/8774de859957335243696a53a1417ba48abaf770.diff LOG

[Lldb-commits] [lldb] [lldb][test] Prevent TestqOffsets.py picking up host binaries (PR #157432)

2025-09-12 Thread Tom Stellard via lldb-commits
https://github.com/tstellar approved this pull request. Passes for me now: https://github.com/llvm/llvm-project/actions/runs/17554582247/job/49855285540?pr=155274 https://github.com/llvm/llvm-project/pull/157432 ___ lldb-commits mailing list lldb-comm

[Lldb-commits] [lldb] [lldb-mcp] Auto connect to the first running lldb mcp instance. (PR #157503)

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

[Lldb-commits] [lldb] [lldb][test] Re-enable import-std-module tests on Linux (PR #157649)

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

[Lldb-commits] [lldb] [lldb-dap] Add invalidated event (PR #157530)

2025-09-12 Thread Druzhkov Sergei via lldb-commits
@@ -440,6 +441,8 @@ def _handle_event(self, packet: Event) -> None: elif event == "capabilities" and body: # Update the capabilities with new ones from the event. self.capabilities.update(body["capabilities"]) +elif event == "invalidated"

[Lldb-commits] [lldb] [lldb] Allow division by floating point zero in Scalar (PR #158115)

2025-09-12 Thread Ilia Kuklin via lldb-commits
https://github.com/kuilpd created https://github.com/llvm/llvm-project/pull/158115 `Scalar` produced an invalid value when detecting any division by zero. This should be only for integer division. >From 8cffb7a919d4ca4dc4421e24d8f19eb1d58d5523 Mon Sep 17 00:00:00 2001 From: Ilia Kuklin Date:

  1   2   3   4   5   6   7   8   9   10   >