[Lldb-commits] [lldb] [lldb] Reimplement PythonObject::Dump using the limited API (PR #152055)

2025-08-04 Thread Med Ismail Bennani via lldb-commits
https://github.com/medismailben approved this pull request. https://github.com/llvm/llvm-project/pull/152055 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Reimplement PythonObject::Dump using the limited API (PR #152055)

2025-08-04 Thread Med Ismail Bennani via lldb-commits
@@ -131,23 +132,30 @@ void StructuredPythonObject::Serialize(llvm::json::OStream &s) const { // PythonObject void PythonObject::Dump(Stream &strm) const { - if (m_py_obj) { -FILE *file = llvm::sys::RetryAfterSignal(nullptr, ::tmpfile); -if (file) { - ::PyObject_

[Lldb-commits] [lldb] [lldb] Guard SBFrame/SBThread methods against running processes (PR #152020)

2025-08-04 Thread via lldb-commits
@@ -233,6 +233,10 @@ class LLDB_API SBFrame { void SetFrameSP(const lldb::StackFrameSP &lldb_object_sp); + /// Return an SBValue with an error message warning that the process is not + /// currently stopped. jimingham wrote: At the SB API level, if you a

[Lldb-commits] [lldb] [lldb] Use Python Bytes instead of Buffer for Binary I/O (NFC) (PR #152031)

2025-08-04 Thread Med Ismail Bennani via lldb-commits
https://github.com/medismailben approved this pull request. https://github.com/llvm/llvm-project/pull/152031 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Reimplement PythonObject::Dump using the limited API (PR #152055)

2025-08-04 Thread Med Ismail Bennani via lldb-commits
@@ -131,23 +132,30 @@ void StructuredPythonObject::Serialize(llvm::json::OStream &s) const { // PythonObject void PythonObject::Dump(Stream &strm) const { - if (m_py_obj) { -FILE *file = llvm::sys::RetryAfterSignal(nullptr, ::tmpfile); -if (file) { - ::PyObject_

[Lldb-commits] [lldb] [lldb] Use Python Bytes instead of Buffer for Binary I/O (NFC) (PR #152031)

2025-08-04 Thread Alex Langford via lldb-commits
https://github.com/bulbazord requested changes to this pull request. https://github.com/llvm/llvm-project/pull/152031 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Use Python Bytes instead of Buffer for Binary I/O (NFC) (PR #152031)

2025-08-04 Thread Alex Langford via lldb-commits
@@ -1212,12 +1178,12 @@ class BinaryPythonFile : public PythonIOFile { num_bytes = 0; return Status(); } -auto pybuffer = PythonBuffer::Create(pybuffer_obj.get()); -if (!pybuffer) - // Cloning since the wrapped exception may still reference the PyTh

[Lldb-commits] [lldb] [lldb] Update JSONTransport to use MainLoop for reading. (PR #148300)

2025-08-04 Thread John Harrison via lldb-commits
@@ -7,163 +7,104 @@ //===--===// #include "lldb/Host/JSONTransport.h" -#include "lldb/Utility/IOObject.h" #include "lldb/Utility/LLDBLog.h" #include "lldb/Utility/Log.h" -#include "lldb/Utility/SelectHelper

[Lldb-commits] [lldb] [lldb] Update JSONTransport to use MainLoop for reading. (PR #148300)

2025-08-04 Thread John Harrison via lldb-commits
https://github.com/ashgti updated https://github.com/llvm/llvm-project/pull/148300 >From 7857cff5f79c603c72edb69f0c10294e5e042ebc Mon Sep 17 00:00:00 2001 From: John Harrison Date: Fri, 11 Jul 2025 14:24:42 -0700 Subject: [PATCH 1/7] [lldb] Update JSONTransport to use MainLoop for reading. Thi

[Lldb-commits] [lldb] [lldb] Add a CMake option to build agains the Python limited API (PR #152034)

2025-08-04 Thread Alex Langford via lldb-commits
https://github.com/bulbazord approved this pull request. https://github.com/llvm/llvm-project/pull/152034 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Add a CMake option to build agains the Python limited API (PR #152034)

2025-08-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes This adds a CMake option (which defaults to OFF) to force building against the Python limited API. This makes iterating on #151617 easier and eventually will prevent us from regressing this configur

[Lldb-commits] [lldb] [lldb] Add a CMake option to build agains the Python limited API (PR #152034)

2025-08-04 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/152034 This adds a CMake option (which defaults to OFF) to force building against the Python limited API. This makes iterating on #151617 easier and eventually will prevent us from regressing this configuration.

[Lldb-commits] [lldb] [lldb] Guard SBFrame/SBThread methods against running processes (PR #152020)

2025-08-04 Thread Felipe de Azevedo Piovezan via lldb-commits
felipepiovezan wrote: This linux test failed, but I'm not yet sure if it is related, as it doesn't fail locally for me: ``` 2025-08-04T21:05:44.7103932Z File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObje

[Lldb-commits] [lldb] [lldb] Use Python Bytes instead of Buffer for Binary I/O (NFC) (PR #152031)

2025-08-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes Binary I/O (also called buffered I/O) expects bytes-like objects and produces bytes objects [1]. Switch from using a Python buffer to using Python bytes to read the data. This eliminates calls to fu

[Lldb-commits] [lldb] [lldb] Guard SBFrame/SBThread methods against running processes (PR #152020)

2025-08-04 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan updated https://github.com/llvm/llvm-project/pull/152020 >From 9be92f8ead1294cc1931fe68c13dbaa8c5945423 Mon Sep 17 00:00:00 2001 From: Felipe de Azevedo Piovezan Date: Mon, 4 Aug 2025 08:32:20 -0700 Subject: [PATCH] [lldb] Guard SBFrame/SBThread methods against

[Lldb-commits] [lldb] [lldb] Use Python Bytes instead of Buffer for Binary I/O (NFC) (PR #152031)

2025-08-04 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: Part of https://github.com/llvm/llvm-project/issues/151617 https://github.com/llvm/llvm-project/pull/152031 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Use Python Bytes instead of Buffer for Binary I/O (NFC) (PR #152031)

2025-08-04 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/152031 >From 54de8da70ff38d351057835b8d9216d58ed659e8 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Mon, 4 Aug 2025 13:49:09 -0700 Subject: [PATCH] [lldb] Use Python Bytes instead of Buffer for Binary I/O

[Lldb-commits] [lldb] [lldb] Use Python Bytes instead of Buffer for Binary I/O (NFC) (PR #152031)

2025-08-04 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/152031 Binary I/O (also called buffered I/O) expects bytes-like objects and produces bytes objects [1]. Switch from using a Python buffer to using Python bytes to read the data. This eliminates calls to functions

[Lldb-commits] [lldb] d276569 - [lldb][DWARFIndex] Adapt DebugNamesDWARFIndex::ProcessEntry to IterationAction (#152025)

2025-08-04 Thread via lldb-commits
Author: Michael Buch Date: 2025-08-04T21:33:05+01:00 New Revision: d27656925817cfc30607c3ab0e6a563637b71798 URL: https://github.com/llvm/llvm-project/commit/d27656925817cfc30607c3ab0e6a563637b71798 DIFF: https://github.com/llvm/llvm-project/commit/d27656925817cfc30607c3ab0e6a563637b71798.diff

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DebugNamesDWARFIndex::ProcessEntry to IterationAction (PR #152025)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 closed https://github.com/llvm/llvm-project/pull/152025 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [lldb][windows] use Windows APIs to print to the console (PR #149493)

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

[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

2025-08-04 Thread via lldb-commits
https://github.com/barsolo2000 updated https://github.com/llvm/llvm-project/pull/150331 >From b79edf938d49d03498ec3a9228344a684d0cbf6e Mon Sep 17 00:00:00 2001 From: Bar Soloveychik Date: Wed, 23 Jul 2025 15:17:29 -0700 Subject: [PATCH 1/8] [LLDB] added getName method in SBModule --- lldb/inc

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DebugNamesDWARFIndex::ProcessEntry to IterationAction (PR #152025)

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

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DebugNamesDWARFIndex::ProcessEntry to IterationAction (PR #152025)

2025-08-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes Continuation of https://github.com/llvm/llvm-project/pull/151489 --- Full diff: https://github.com/llvm/llvm-project/pull/152025.diff 2 Files Affected: - (modified) lldb/source/Plugins/SymbolFile/DWARF/D

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DebugNamesDWARFIndex::ProcessEntry to IterationAction (PR #152025)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/152025 Continuation of https://github.com/llvm/llvm-project/pull/151489 >From 6b4ab4dd116522c0f25c80d98b5da9e423d72f4a Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 4 Aug 2025 21:22:15 +0100 Subject: [PATC

[Lldb-commits] [lldb] [vscode-lldb] Fix race condition when changing lldb-dap arguments (PR #151828)

2025-08-04 Thread via lldb-commits
https://github.com/kusmour approved this pull request. https://github.com/llvm/llvm-project/pull/151828 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Guard SBFrame/SBThread methods against running processes (PR #152020)

2025-08-04 Thread via lldb-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r HEAD~1...HEAD lldb/test/API/python_api/run_locker/TestRunLocker.py `` View th

[Lldb-commits] [lldb] [lldb] Guard SBFrame/SBThread methods against running processes (PR #152020)

2025-08-04 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 HEAD~1 HEAD --extensions cpp,h -- lldb/include/lldb/API/SBFrame.h lldb/include/lldb/H

[Lldb-commits] [lldb] [lldb] Guard SBFrame/SBThread methods against running processes (PR #152020)

2025-08-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Felipe de Azevedo Piovezan (felipepiovezan) Changes Prior to this patch, SBFrame/SBThread methods exhibit racy behavior if called while the process is running, because they do not lock the `Process::RetRunLock` mutex. If they did, they wou

[Lldb-commits] [lldb] [lldb] Guard SBFrame/SBThread methods against running processes (PR #152020)

2025-08-04 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan created https://github.com/llvm/llvm-project/pull/152020 Prior to this patch, SBFrame/SBThread methods exhibit racy behavior if called while the process is running, because they do not lock the `Process::RetRunLock` mutex. If they did, they would fail, correct

[Lldb-commits] [lldb] [llvm] Annotate disassembly with register‐resident variable locations (PR #147460)

2025-08-04 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 HEAD~1 HEAD --extensions h,c,cpp -- lldb/test/API/functionalities/rich-disassembler/d

[Lldb-commits] [lldb] [llvm] Annotate disassembly with register‐resident variable locations (PR #147460)

2025-08-04 Thread via lldb-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r HEAD~1...HEAD lldb/test/API/functionalities/rich-disassembler/TestRichDisassembler.py

[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

2025-08-04 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 HEAD~1 HEAD --extensions cpp,h -- lldb/include/lldb/API/SBModule.h lldb/source/API/SB

[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

2025-08-04 Thread via lldb-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r HEAD~1...HEAD lldb/test/API/python_api/sbmodule/TestSBModule.py `` View the d

[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

2025-08-04 Thread via lldb-commits
https://github.com/barsolo2000 updated https://github.com/llvm/llvm-project/pull/150331 >From b79edf938d49d03498ec3a9228344a684d0cbf6e Mon Sep 17 00:00:00 2001 From: Bar Soloveychik Date: Wed, 23 Jul 2025 15:17:29 -0700 Subject: [PATCH 1/7] [LLDB] added getName method in SBModule --- lldb/inc

[Lldb-commits] [lldb] [lldb] Implement DW_CFA_val_offset and DW_CFA_val_offset_sf (PR #150732)

2025-08-04 Thread Daniel Sanders via lldb-commits
dsandersllvm wrote: That makes sense, I've added the command and switched to register read to avoid the expression evaluator https://github.com/llvm/llvm-project/pull/150732 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.

[Lldb-commits] [lldb] [lldb] Implement DW_CFA_val_offset and DW_CFA_val_offset_sf (PR #150732)

2025-08-04 Thread Daniel Sanders via lldb-commits
https://github.com/dsandersllvm updated https://github.com/llvm/llvm-project/pull/150732 >From bd27929645928939f319dc915da1a4636e4d317d Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Wed, 28 Aug 2024 19:02:21 -0700 Subject: [PATCH 1/7] [lldb] Implement DW_CFA_val_offset and DW_CFA_val_off

[Lldb-commits] [lldb] [Minidump] Update Minidump file builder to continue when the Module's section cannot be found (PR #152009)

2025-08-04 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond requested changes to this pull request. https://github.com/llvm/llvm-project/pull/152009 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [Minidump] Update Minidump file builder to continue when the Module's section cannot be found (PR #152009)

2025-08-04 Thread Jacob Lalonde via lldb-commits
@@ -308,40 +308,57 @@ Status MinidumpFileBuilder::AddModuleList() { // the llvm::minidump::Module's structures into helper data size_t size_before = GetCurrentDataEndOffset(); - // This is the size of the main part of the ModuleList stream. - // It consists of a module n

[Lldb-commits] [lldb] [Minidump] Update Minidump file builder to continue when the Module's section cannot be found (PR #152009)

2025-08-04 Thread Jacob Lalonde via lldb-commits
@@ -308,40 +308,57 @@ Status MinidumpFileBuilder::AddModuleList() { // the llvm::minidump::Module's structures into helper data size_t size_before = GetCurrentDataEndOffset(); - // This is the size of the main part of the ModuleList stream. - // It consists of a module n

[Lldb-commits] [lldb] [lldb] Fix TLS support on Darwin platforms (PR #151601)

2025-08-04 Thread Alex Langford via lldb-commits
https://github.com/bulbazord closed https://github.com/llvm/llvm-project/pull/151601 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] a27d34b - [lldb] Fix TLS support on Darwin platforms (#151601)

2025-08-04 Thread via lldb-commits
Author: Alex Langford Date: 2025-08-04T11:44:17-07:00 New Revision: a27d34b3f22b1134b2d47590c25b7f81eb7710b2 URL: https://github.com/llvm/llvm-project/commit/a27d34b3f22b1134b2d47590c25b7f81eb7710b2 DIFF: https://github.com/llvm/llvm-project/commit/a27d34b3f22b1134b2d47590c25b7f81eb7710b2.diff

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-08-04 Thread via lldb-commits
Nerixyz wrote: > We started seeing a test failure (`lldb-api :: > tools/lldb-dap/launch/TestDAP_launch.py`) after this patch: This failure looks unrelated. This PR changed the native PDB parser, which is used on Windows and currently not used at all in API tests. https://github.com/llvm/llvm-

[Lldb-commits] [lldb] [Minidump] Update Minidump file builder to continue when the Module's section cannot be found (PR #152009)

2025-08-04 Thread via lldb-commits
https://github.com/barsolo2000 updated https://github.com/llvm/llvm-project/pull/152009 >From 91ad83c794eeaed56297aa43a6d36e8c7572e18e Mon Sep 17 00:00:00 2001 From: Bar Soloveychik Date: Mon, 4 Aug 2025 10:13:37 -0700 Subject: [PATCH 1/4] Update Minidump file builder to continue when the Modu

[Lldb-commits] [lldb] [lldb] Fix TLS support on Darwin platforms (PR #151601)

2025-08-04 Thread Alex Langford via lldb-commits
https://github.com/bulbazord updated https://github.com/llvm/llvm-project/pull/151601 >From 28e3ee59aca4c4c8ce6a5d9e67be48cf692d7d86 Mon Sep 17 00:00:00 2001 From: Alex Langford Date: Thu, 31 Jul 2025 14:48:55 -0700 Subject: [PATCH 1/2] [lldb] Fix TLS support on Darwin platforms When I wrote t

[Lldb-commits] [lldb] [lldb] Fix TLS support on Darwin platforms (PR #151601)

2025-08-04 Thread Med Ismail Bennani via lldb-commits
@@ -10,10 +10,12 @@ touch_shared(); // Create some TLS storage within the static executable. __thread int var_static = 44; +__thread int var_static2 = 22; void *fn_static(void *param) { var_static *= 2; + var_static2 *= 3; medismailben wrote: ind

[Lldb-commits] [lldb] [Minidump] Update Minidump file builder to continue when the Module's section cannot be found (PR #152009)

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

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-08-04 Thread via lldb-commits
gulfemsavrun wrote: We started seeing a test failure (`lldb-api :: tools/lldb-dap/launch/TestDAP_launch.py`) after this patch: ``` 1754321883.282107115 (stdio) <-- {"body":{"category":"console","output":"(lldb) image dump sections a.out\n"},"event":"output","seq":0,"type":"event"} 1754321883.28

[Lldb-commits] [lldb] [Minidump] Update Minidump file builder to continue when the Module's section cannot be found (PR #152009)

2025-08-04 Thread Jacob Lalonde via lldb-commits
@@ -308,38 +308,48 @@ Status MinidumpFileBuilder::AddModuleList() { // the llvm::minidump::Module's structures into helper data size_t size_before = GetCurrentDataEndOffset(); - // This is the size of the main part of the ModuleList stream. - // It consists of a module n

[Lldb-commits] [lldb] [Minidump] Update Minidump file builder to continue when the Module's section cannot be found (PR #152009)

2025-08-04 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond requested changes to this pull request. https://github.com/llvm/llvm-project/pull/152009 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [Minidump] Update Minidump file builder to continue when the Module's section cannot be found (PR #152009)

2025-08-04 Thread Jacob Lalonde via lldb-commits
@@ -308,38 +308,48 @@ Status MinidumpFileBuilder::AddModuleList() { // the llvm::minidump::Module's structures into helper data size_t size_before = GetCurrentDataEndOffset(); - // This is the size of the main part of the ModuleList stream. - // It consists of a module n

[Lldb-commits] [lldb] [lldb] Fix TLS support on Darwin platforms (PR #151601)

2025-08-04 Thread Alex Langford via lldb-commits
bulbazord wrote: > This does mean we won't handle the old TLS format correctly though right? My understanding is that this should handle the "old" TLS format correctly. When I updated this code 2 years ago, I think I misunderstood the dyld implementation and this worked because of a coincidenc

[Lldb-commits] [lldb] [Minidump] Update Minidump file builder to continue when the Module's section cannot be found (PR #152009)

2025-08-04 Thread via lldb-commits
https://github.com/barsolo2000 created https://github.com/llvm/llvm-project/pull/152009 Instead of returning an error when: - it can't obtain section information from a module. - there are other issues calculating the size. Instead, when we encounter such an error we log the error and continue

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-08-04 Thread Charles Zablit via lldb-commits
@@ -92,6 +92,10 @@ void TrackingOutputBuffer::finalizeStart() { if (NameInfo.BasenameRange.second == 0) NameInfo.BasenameRange.second = getCurrentPosition(); + if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first) +NameInfo.TemplateArgumentsRange = {Na

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-08-04 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit updated https://github.com/llvm/llvm-project/pull/150999 >From 9b3551c6dbf8629c49f2bf3ed3f34e7b4e52e65f Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Mon, 28 Jul 2025 18:58:44 +0200 Subject: [PATCH 1/6] [lldb] add TemplateRange and NameQualifiersRange to

[Lldb-commits] [lldb] 147cfc8 - [lldb][DWARFIndex] Adapt DWARFIndex DIERefCallback to IterationAction (#152001)

2025-08-04 Thread via lldb-commits
Author: Michael Buch Date: 2025-08-04T18:44:42+01:00 New Revision: 147cfc89f05e8953fa8eaff7448353c817b17cc9 URL: https://github.com/llvm/llvm-project/commit/147cfc89f05e8953fa8eaff7448353c817b17cc9 DIFF: https://github.com/llvm/llvm-project/commit/147cfc89f05e8953fa8eaff7448353c817b17cc9.diff

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex DIERefCallback to IterationAction (PR #152001)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 closed https://github.com/llvm/llvm-project/pull/152001 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] ad623a8 - [lldb] Eliminate PyGILState_Check (NFC) (#152006)

2025-08-04 Thread via lldb-commits
Author: Jonas Devlieghere Date: 2025-08-04T10:44:32-07:00 New Revision: ad623a813e6d9ffdef62270656245b35ffceda37 URL: https://github.com/llvm/llvm-project/commit/ad623a813e6d9ffdef62270656245b35ffceda37 DIFF: https://github.com/llvm/llvm-project/commit/ad623a813e6d9ffdef62270656245b35ffceda37.d

[Lldb-commits] [lldb] [lldb] Eliminate PyGILState_Check (NFC) (PR #152006)

2025-08-04 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere closed https://github.com/llvm/llvm-project/pull/152006 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex DIERefCallback to IterationAction (PR #152001)

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

[Lldb-commits] [lldb] [lldb] Eliminate PyGILState_Check (NFC) (PR #152006)

2025-08-04 Thread Med Ismail Bennani via lldb-commits
https://github.com/medismailben approved this pull request. https://github.com/llvm/llvm-project/pull/152006 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Eliminate PyGILState_Check (NFC) (PR #152006)

2025-08-04 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: Part of https://github.com/llvm/llvm-project/issues/151617 https://github.com/llvm/llvm-project/pull/152006 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Eliminate PyGILState_Check (NFC) (PR #152006)

2025-08-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes Eliminate calls to PyGILState_Check, which is not part of the Python Limited C API. In the Locker, we can use PyGILState_Ensure directly. We could do something similar to replace the assert, but I d

[Lldb-commits] [lldb] [lldb] Eliminate PyGILState_Check (NFC) (PR #152006)

2025-08-04 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/152006 Eliminate calls to PyGILState_Check, which is not part of the Python Limited C API. In the Locker, we can use PyGILState_Ensure directly. We could do something similar to replace the assert, but I don't th

[Lldb-commits] [lldb] [vscode-lldb] Fix `yarn package` (PR #152002)

2025-08-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (royitaqi) Changes # Problem `yarn package` cannot be run twice in a row - the second time will error out: > Error: ENOENT: no such file or directory, stat '/llvm-project/lldb/tools/lldb-dap/out/lldb-dap.vsix' This error is also

[Lldb-commits] [lldb] [vscode-lldb] Fix `yarn package` (PR #152002)

2025-08-04 Thread via lldb-commits
https://github.com/royitaqi created https://github.com/llvm/llvm-project/pull/152002 # Problem `yarn package` cannot be run twice in a row - the second time will error out: > Error: ENOENT: no such file or directory, stat > '/llvm-project/lldb/tools/lldb-dap/out/lldb-dap.vsix' This error is al

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex DIERefCallback to IterationAction (PR #152001)

2025-08-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes Continuation of https://github.com/llvm/llvm-project/pull/151489 --- Full diff: https://github.com/llvm/llvm-project/pull/152001.diff 7 Files Affected: - (modified) lldb/source/Plugins/SymbolFile/DWARF/A

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex DIERefCallback to IterationAction (PR #152001)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/152001 Continuation of https://github.com/llvm/llvm-project/pull/151489 >From a7d97082b2cc5715ccd227920445a4dfbe45dd1e Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 4 Aug 2025 17:47:54 +0100 Subject: [PATC

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

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

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-08-04 Thread Michael Buch via lldb-commits
@@ -92,6 +92,10 @@ void TrackingOutputBuffer::finalizeStart() { if (NameInfo.BasenameRange.second == 0) NameInfo.BasenameRange.second = getCurrentPosition(); + if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first) +NameInfo.TemplateArgumentsRange = {Na

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex GetTypes APIs to IterationAction (PR #151992)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 closed https://github.com/llvm/llvm-project/pull/151992 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-08-04 Thread Charles Zablit via lldb-commits
@@ -92,6 +92,10 @@ void TrackingOutputBuffer::finalizeStart() { if (NameInfo.BasenameRange.second == 0) NameInfo.BasenameRange.second = getCurrentPosition(); + if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first) +NameInfo.TemplateArgumentsRange = {Na

[Lldb-commits] [lldb] 37b6fbc - [lldb][DWARFIndex] Adapt DWARFIndex GetTypes APIs to IterationAction (#151992)

2025-08-04 Thread via lldb-commits
Author: Michael Buch Date: 2025-08-04T17:48:16+01:00 New Revision: 37b6fbc95b7dd623c8cfff04af1f1b787cf3d4cd URL: https://github.com/llvm/llvm-project/commit/37b6fbc95b7dd623c8cfff04af1f1b787cf3d4cd DIFF: https://github.com/llvm/llvm-project/commit/37b6fbc95b7dd623c8cfff04af1f1b787cf3d4cd.diff

[Lldb-commits] [lldb] [llvm] [lldb][windows] use Windows APIs to print to the console (PR #149493)

2025-08-04 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit updated https://github.com/llvm/llvm-project/pull/149493 >From 77bf2b7acb82ea930702c8b0587c019fd48dc0f2 Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Fri, 18 Jul 2025 12:29:31 +0200 Subject: [PATCH 1/8] [windows][lldb] force the console to use a UTF-8 cod

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-08-04 Thread Michael Buch via lldb-commits
@@ -92,6 +92,10 @@ void TrackingOutputBuffer::finalizeStart() { if (NameInfo.BasenameRange.second == 0) NameInfo.BasenameRange.second = getCurrentPosition(); + if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first) +NameInfo.TemplateArgumentsRange = {Na

[Lldb-commits] [lldb] [lldb][NFC] Move SBThread::ResumeNewPlan out of the header (PR #151988)

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

[Lldb-commits] [lldb] 849daa4 - [lldb][NFC] Move SBThread::ResumeNewPlan out of the header (#151988)

2025-08-04 Thread via lldb-commits
Author: Felipe de Azevedo Piovezan Date: 2025-08-04T09:43:39-07:00 New Revision: 849daa4aa05f2b3ac114762c73b9cb48d132a060 URL: https://github.com/llvm/llvm-project/commit/849daa4aa05f2b3ac114762c73b9cb48d132a060 DIFF: https://github.com/llvm/llvm-project/commit/849daa4aa05f2b3ac114762c73b9cb48d

[Lldb-commits] [lldb] [lldb][nfc] Use delegating ctor for ExecutionContext (PR #151987)

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

[Lldb-commits] [lldb] 80bd72b - [lldb][nfc] Use delegating ctor for ExecutionContext (#151987)

2025-08-04 Thread via lldb-commits
Author: Felipe de Azevedo Piovezan Date: 2025-08-04T09:43:21-07:00 New Revision: 80bd72b9b0d5d1f8fd54a4ee6f8af80734912d5d URL: https://github.com/llvm/llvm-project/commit/80bd72b9b0d5d1f8fd54a4ee6f8af80734912d5d DIFF: https://github.com/llvm/llvm-project/commit/80bd72b9b0d5d1f8fd54a4ee6f8af8073

[Lldb-commits] [lldb] 7b208e0 - [LLDB] Add setting for native PDB reader (#151490)

2025-08-04 Thread via lldb-commits
Author: nerix Date: 2025-08-04T09:43:01-07:00 New Revision: 7b208e04b2e7c4a10eebf026996d8116eac5f603 URL: https://github.com/llvm/llvm-project/commit/7b208e04b2e7c4a10eebf026996d8116eac5f603 DIFF: https://github.com/llvm/llvm-project/commit/7b208e04b2e7c4a10eebf026996d8116eac5f603.diff LOG: [L

[Lldb-commits] [lldb] [LLDB] Add setting for native PDB reader (PR #151490)

2025-08-04 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere closed https://github.com/llvm/llvm-project/pull/151490 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Zero extend APInt when piece size is bigger than the bitwidth (PR #150149)

2025-08-04 Thread Jacob Lalonde via lldb-commits
https://github.com/Jlalond closed https://github.com/llvm/llvm-project/pull/150149 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] a0db29d - [lldb] Zero extend APInt when piece size is bigger than the bitwidth (#150149)

2025-08-04 Thread via lldb-commits
Author: satyanarayana reddy janga Date: 2025-08-04T09:42:42-07:00 New Revision: a0db29d64788c44230b0808317d5841c5558bec6 URL: https://github.com/llvm/llvm-project/commit/a0db29d64788c44230b0808317d5841c5558bec6 DIFF: https://github.com/llvm/llvm-project/commit/a0db29d64788c44230b0808317d5841c55

[Lldb-commits] [lldb] [lldb] Zero extend APInt when piece size is bigger than the bitwidth (PR #150149)

2025-08-04 Thread Jacob Lalonde via lldb-commits
Jlalond wrote: Merging for @satyajanga https://github.com/llvm/llvm-project/pull/150149 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-08-04 Thread Charles Zablit via lldb-commits
@@ -92,6 +92,10 @@ void TrackingOutputBuffer::finalizeStart() { if (NameInfo.BasenameRange.second == 0) NameInfo.BasenameRange.second = getCurrentPosition(); + if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first) +NameInfo.TemplateArgumentsRange = {Na

[Lldb-commits] [lldb] [LLDB][NativePDB] Implement `FindNamespace` (PR #151950)

2025-08-04 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/151950 >From 2fa8f02e7aea995e01af4eac20303db47315fea6 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Mon, 4 Aug 2025 14:03:10 +0200 Subject: [PATCH 1/2] [LLDB][NativePDB] Implement `FindNamespace` --- .../SymbolFile/Na

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Aaron Ballman via lldb-commits
AaronBallman wrote: > > Clang bits LGTM > > @AaronBallman Sorry for the back and forth but I had some of the Clang > changes not split into separate commits. Not sure if you looked at the entire > diff or just the Clang commits, but I split out one more commit just now just > in case I looke

[Lldb-commits] [lldb] 8f77fa7 - [lldb] Simplify Python Locker log messages (NFC)

2025-08-04 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2025-08-04T09:37:37-07:00 New Revision: 8f77fa7026de9f544778063fd9fe900d0804b863 URL: https://github.com/llvm/llvm-project/commit/8f77fa7026de9f544778063fd9fe900d0804b863 DIFF: https://github.com/llvm/llvm-project/commit/8f77fa7026de9f544778063fd9fe900d0804b863.d

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex GetTypes APIs to IterationAction (PR #151992)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/151992 >From 52184181acaff1c210b4edab9564c14da98d797c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 08:55:13 +0100 Subject: [PATCH 1/2] [lldb][DWARFIndex] Adapt DWARFIndex GetTypes APIs to Itera

[Lldb-commits] [lldb] [lldb][NFC] Move SBThread::ResumeNewPlan out of the header (PR #151988)

2025-08-04 Thread via lldb-commits
https://github.com/jimingham approved this pull request. Yeah, that's weird to be a method because it acts on a thread that isn't necessarily the thread that is managed by the SBThread calling the method. That does sound more like it should be a free function. https://github.com/llvm/llvm-pro

[Lldb-commits] [lldb] 0f08dc8 - [lldb] Use fully qualified name instead of namespace (NFC)

2025-08-04 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2025-08-04T09:22:25-07:00 New Revision: 0f08dc84405796c25c070ef57258309f66017984 URL: https://github.com/llvm/llvm-project/commit/0f08dc84405796c25c070ef57258309f66017984 DIFF: https://github.com/llvm/llvm-project/commit/0f08dc84405796c25c070ef57258309f66017984.d

[Lldb-commits] [lldb] [lldb][nfc] Use delegating ctor for ExecutionContext (PR #151987)

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

[Lldb-commits] [lldb] [lldb][nfc] Use delegating ctor for ExecutionContext (PR #151987)

2025-08-04 Thread via lldb-commits
https://github.com/jimingham approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/151987 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-08-04 Thread Charles Zablit via lldb-commits
@@ -92,6 +92,10 @@ void TrackingOutputBuffer::finalizeStart() { if (NameInfo.BasenameRange.second == 0) NameInfo.BasenameRange.second = getCurrentPosition(); + if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first) +NameInfo.TemplateArgumentsRange = {Na

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex GetTypes APIs to IterationAction (PR #151992)

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

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex GetTypes APIs to IterationAction (PR #151992)

2025-08-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes Continuation of https://github.com/llvm/llvm-project/pull/151489 --- Full diff: https://github.com/llvm/llvm-project/pull/151992.diff 9 Files Affected: - (modified) lldb/source/Plugins/SymbolFile/DWARF/A

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex GetTypes APIs to IterationAction (PR #151992)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/151992 Continuation of https://github.com/llvm/llvm-project/pull/151489 >From 52184181acaff1c210b4edab9564c14da98d797c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 08:55:13 +0100 Subject: [PATC

[Lldb-commits] [lldb] 0ee1811 - [lldb] Eliminate InitializePythonRAII::InitializeThreadsPrivate (NFC) (#151780)

2025-08-04 Thread via lldb-commits
Author: Jonas Devlieghere Date: 2025-08-04T09:08:20-07:00 New Revision: 0ee1811624383b4601c969d72e851377f868120f URL: https://github.com/llvm/llvm-project/commit/0ee1811624383b4601c969d72e851377f868120f DIFF: https://github.com/llvm/llvm-project/commit/0ee1811624383b4601c969d72e851377f868120f.d

[Lldb-commits] [lldb] [lldb] Eliminate InitializePythonRAII::InitializeThreadsPrivate (NFC) (PR #151780)

2025-08-04 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere closed https://github.com/llvm/llvm-project/pull/151780 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex ObjC APIs to IterationAction (PR #151839)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 closed https://github.com/llvm/llvm-project/pull/151839 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

  1   2   >