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

2025-09-12 Thread David Spickett via lldb-commits
DavidSpickett wrote: > remote-gdb-server That though, might skip dyld altogether. https://github.com/llvm/llvm-project/pull/157432 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] f3b7ad4 - [lldb][NFC] Update testsuite skip comment

2025-09-12 Thread Jason Molenda via lldb-commits
Author: Jason Molenda Date: 2025-09-09T16:47:26-07:00 New Revision: f3b7ad4859037254afc0ee6d938018376c7c03d3 URL: https://github.com/llvm/llvm-project/commit/f3b7ad4859037254afc0ee6d938018376c7c03d3 DIFF: https://github.com/llvm/llvm-project/commit/f3b7ad4859037254afc0ee6d938018376c7c03d3.diff

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

2025-09-12 Thread Roy Shi via lldb-commits
royitaqi wrote: @walter-erquinigo: Added documentation. Also fixed an error in existing documentation about how to open the Settings page. LMK if it looks alright (if not, feel free to give me the specific change that you want me to put in). Also LMK if you are okay with skipping the `auto` ch

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

2025-09-12 Thread John Harrison 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] Add unary plus and minus to DIL (PR #155617)

2025-09-12 Thread via lldb-commits
jimingham wrote: Do we ever want to support - in the DIL - something like: swift_integer = c_integer + rust_integer We do know how to do that (variations on the details of integer promotion and the like aside) and given these are data objects we can query for their integer values it seems som

[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
@@ -131,8 +131,12 @@ DebugNamesDWARFIndex::GetNonSkeletonUnit(const DebugNames::Entry &entry) const { unit_offset = entry.getLocalTUOffset(); if (unit_offset) { if (DWARFUnit *cu = m_debug_info.GetUnitAtOffset(DIERef::Section::DebugInfo, -

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

2025-09-12 Thread John Harrison via lldb-commits
https://github.com/ashgti closed 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] bdf645b - [lldb][test] TestTsanBasic.py: fix function name assertion

2025-09-12 Thread Michael Buch via lldb-commits
Author: Michael Buch Date: 2025-09-08T19:27:18+01:00 New Revision: bdf645bb9b509b60bdb6a71d865b4f8999187977 URL: https://github.com/llvm/llvm-project/commit/bdf645bb9b509b60bdb6a71d865b4f8999187977 DIFF: https://github.com/llvm/llvm-project/commit/bdf645bb9b509b60bdb6a71d865b4f8999187977.diff

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

2025-09-12 Thread 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] [LLDB][NativePDB] Implement `AddSymbols` (PR #154121)

2025-09-12 Thread via lldb-commits
Nerixyz wrote: > Seems to align with how the PDB plugin does it The only difference is that PDB doesn't set the `debug` flag. I think the debug flag is more correct here, since the symbols we're adding aren't exposed in the binary but only in the debug info. https://github.com/llvm/llvm-proje

[Lldb-commits] [lldb] 5326b3b - [lldb][test] Only assert function name is in user-code on Darwin platforms

2025-09-12 Thread Michael Buch via lldb-commits
Author: Michael Buch Date: 2025-09-08T22:48:34+01:00 New Revision: 5326b3b176e82191b18ffc368118b36e0103af3d URL: https://github.com/llvm/llvm-project/commit/5326b3b176e82191b18ffc368118b36e0103af3d DIFF: https://github.com/llvm/llvm-project/commit/5326b3b176e82191b18ffc368118b36e0103af3d.diff

[Lldb-commits] [lldb] [lldb] Unwind through ARM Cortex-M exceptions automatically (PR #153922)

2025-09-12 Thread Vladislav Dzhidzhoev via lldb-commits
dzhidzhoev wrote: Please note that this patch has broken [lldb-remote-linux-ubuntu](https://lab.llvm.org/buildbot/#/builders/195). ``` FAIL: LLDB (/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/build/bin/clang-aarch64) :: test_no_fpu (TestCortexMExceptionUnwind.TestCortexMExcept

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

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Druzhkov Sergei (DrSergei) Changes This patch fixes the problem, when after a `setVariable` request pointers and references to the variable are not updated. VSCode doesn't send a `variables` request after a `setVariable` request, so we sho

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

2025-09-12 Thread David Peixotto via lldb-commits
https://github.com/dmpots approved this pull request. I tested locally with this PR and no longer see the segmentation fault from #137046. https://github.com/llvm/llvm-project/pull/157649 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https

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

2025-09-12 Thread Jonas Devlieghere via lldb-commits
@@ -1073,3 +1073,17 @@ TEST(ProtocolTypesTest, CompletionsResponseBody) { ASSERT_THAT_EXPECTED(expected, llvm::Succeeded()); EXPECT_EQ(pp(*expected), pp(response)); } + +TEST(ProtocolTypesTest, InvalidatedEventBody) { + InvalidatedEventBody body; + body.areas = {Invalidat

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

2025-09-12 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper 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] [lldb-dap] Add invalidated event (PR #157530)

2025-09-12 Thread John Harrison 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][SBProgress] Quick fix to the progress formatting (PR #157561)

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jacob Lalonde (Jlalond) Changes 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

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

2025-09-12 Thread 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] [lldb-dap] Add new optional argument `time-to-live` when using `--connection` (PR #156803)

2025-09-12 Thread Roy Shi via lldb-commits
royitaqi wrote: @JDevlieghere, @walter-erquinigo: I have updated the patch according to your suggestions. LMK if it looks alright. Changes: 1. Rename the option to `--connection-timeout`. 2. Print a warning and exit lldb-dap when `--connection-timeout` is given and `--connection` isn't. 3. Add

[Lldb-commits] [lldb] [lldb-dap] Add new optional argument `time-to-live` when using `--connection` (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/6] [lldb-dap] Add optional TTL argument when using --connection ---

[Lldb-commits] [lldb] [lldb][TypeSystemClang] Added unique builtins types for __bf16 and _Float16 (PR #157674)

2025-09-12 Thread via lldb-commits
https://github.com/tgs-sc updated https://github.com/llvm/llvm-project/pull/157674 >From 9ee07b283f5bb3d289b41154914e8d4b630dd75e Mon Sep 17 00:00:00 2001 From: Timur Golubovich Date: Tue, 9 Sep 2025 13:39:33 + Subject: [PATCH] [lldb][TypeSystemClang] Added unique builtins types for __bf16

[Lldb-commits] [lldb] [lldb][TypeSystemClang] Added unique builtins types for __bf16 and _Float16 (PR #157674)

2025-09-12 Thread via lldb-commits
https://github.com/tgs-sc updated https://github.com/llvm/llvm-project/pull/157674 >From a18616f5463b1f2313d68063616c6accacf48243 Mon Sep 17 00:00:00 2001 From: Timur Golubovich Date: Tue, 9 Sep 2025 13:39:33 + Subject: [PATCH] [lldb][TypeSystemClang] Added unique builtins types for __bf16

[Lldb-commits] [lldb] [lldb][TypeSystemClang] Added unique builtins types for __bf16 and _Float16 (PR #157674)

2025-09-12 Thread via lldb-commits
tgs-sc wrote: @Michael137, Hi, I have added here a test you proposed. Can you please look at this patch as it is blocking merging PR(https://github.com/llvm/llvm-project/pull/154123). https://github.com/llvm/llvm-project/pull/157674 ___ lldb-commits

[Lldb-commits] [lldb] [lldb][TypeSystemClang] Added unique builtins types for __bf16 and _Float16 (PR #157674)

2025-09-12 Thread via lldb-commits
https://github.com/tgs-sc edited https://github.com/llvm/llvm-project/pull/157674 ___ 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-12 Thread via lldb-commits
https://github.com/tgs-sc updated https://github.com/llvm/llvm-project/pull/154123 >From eebd3ce655f59cdcf529b637b5d38a74478e4830 Mon Sep 17 00:00:00 2001 From: Timur Golubovich Date: Mon, 8 Sep 2025 14:43:50 +0300 Subject: [PATCH] [lldb][DWARFASTParserClang] Added a check for the specializati

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

2025-09-12 Thread Walter Erquinigo via lldb-commits
@@ -519,8 +591,9 @@ int main(int argc, char *argv[]) { Socket::SocketProtocol protocol; std::string name; std::tie(protocol, name) = *maybeProtoclAndName; -if (auto Err = serveConnection(protocol, name, log.get(), default_repl_mode, -

[Lldb-commits] [lldb] [lldb][test] StepUntil disable test for unsupported linkers. (PR #157474)

2025-09-12 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. LGTM if this works for your use-case, thanks! I'd give @JDevlieghere some time to look at this before merging https://github.com/llvm/llvm-project/pull/157474 ___ lldb-commits mailing list lldb

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

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/157750 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][NativePDB] Create functions with mangled name (PR #149701)

2025-09-12 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/149701 >From 70c954ae5d95e13aa4b29dca928b7c02b59981fc Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sun, 20 Jul 2025 13:25:56 +0200 Subject: [PATCH 1/6] [LLDB][NativePDB] Create functions with mangled name --- .../Sym

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

2025-09-12 Thread Alex Langford via lldb-commits
https://github.com/bulbazord 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] [lldb][test] skip test `TestRerunAndExprDylib.py` on remote (PR #157916)

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Ebuka Ezike (da-viper) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/157916.diff 1 Files Affected: - (modified) lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py (+1) ``diff diff

[Lldb-commits] [lldb] [lldb][test] Re-enable `TestRerunAndExprDylib.py` (PR #157872)

2025-09-12 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. https://github.com/llvm/llvm-project/pull/157872 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][test] StepUntil disable test for unsupported linkers. (PR #157474)

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

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

2025-09-12 Thread Roy Shi via lldb-commits
https://github.com/royitaqi created https://github.com/llvm/llvm-project/pull/157924 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

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

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

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

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

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

2025-09-12 Thread via lldb-commits
https://github.com/jeffreytan81 updated https://github.com/llvm/llvm-project/pull/157574 >From 01ca83a440c9169c5f695ef67a16f503cbb51bd5 Mon Sep 17 00:00:00 2001 From: Jeffrey Tan Date: Mon, 8 Sep 2025 15:43:48 -0700 Subject: [PATCH] Fix GetDIE is outside of its CU error from .debug_names ---

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

2025-09-12 Thread via lldb-commits
@@ -131,8 +131,12 @@ DebugNamesDWARFIndex::GetNonSkeletonUnit(const DebugNames::Entry &entry) const { unit_offset = entry.getLocalTUOffset(); if (unit_offset) { if (DWARFUnit *cu = m_debug_info.GetUnitAtOffset(DIERef::Section::DebugInfo, -

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

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

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

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 cpp,h -- lldb/source/Plugins/Process/elf-core/ProcessEl

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

2025-09-12 Thread via lldb-commits
https://github.com/GeorgeHuyubo updated https://github.com/llvm/llvm-project/pull/157170 >From 056abe4ebed7c2e08728e0dda20374e32292ff0c 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] Track CFA pointer metadata in StackID (PR #157498)

2025-09-12 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 origin/main...HEAD lldb/test/API/macosx/arm-pointer-metadata-cfa-dwarf-expr/TestArmPointer

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

2025-09-12 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan updated https://github.com/llvm/llvm-project/pull/157498 >From 7ab0dfad28de552f796aaf9c6f2a021d4ad766a7 Mon Sep 17 00:00:00 2001 From: Felipe de Azevedo Piovezan Date: Mon, 8 Sep 2025 08:30:19 -0700 Subject: [PATCH 1/2] [lldb] Track CFA pointer metadata in Stac

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

2025-09-12 Thread via lldb-commits
https://github.com/GeorgeHuyubo updated https://github.com/llvm/llvm-project/pull/157170 >From e3de722ac708f9d8780c3c0838fdce4a90d6fbe4 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] 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,19 @@ +/// 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] Fix GetDIE is outside of its CU error from .debug_names (PR #157574)

2025-09-12 Thread David Peixotto via lldb-commits
@@ -131,8 +131,12 @@ DebugNamesDWARFIndex::GetNonSkeletonUnit(const DebugNames::Entry &entry) const { unit_offset = entry.getLocalTUOffset(); if (unit_offset) { if (DWARFUnit *cu = m_debug_info.GetUnitAtOffset(DIERef::Section::DebugInfo, -

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

2025-09-12 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda approved this pull request. 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 `debugAdapterEnv` for `attach` requests & improve regex (PR #157980)

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

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

2025-09-12 Thread via lldb-commits
https://github.com/cmtice created https://github.com/llvm/llvm-project/pull/157992 This adds the ability to recognize (and create ValueObjects for) boolean literals ("true", "false") to DIL. This is a preliminary step to adding type casting (and also for the ternary op). >From 097c19c6f7e76f0

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

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (cmtice) Changes This adds the ability to recognize (and create ValueObjects for) boolean literals ("true", "false") to DIL. This is a preliminary step to adding type casting (and also for the ternary op). --- Full diff: https://gith

[Lldb-commits] [lldb] [lldb][test] skip test `TestRerunAndExprDylib.py` on remote (PR #157916)

2025-09-12 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper created https://github.com/llvm/llvm-project/pull/157916 None >From de9206315b7692b33694eae0d58dc1278e4a1977 Mon Sep 17 00:00:00 2001 From: Ebuka Ezike Date: Wed, 10 Sep 2025 19:02:22 +0100 Subject: [PATCH] [lldb][test] skip test `TestRerunAndExprDylib.py` on remote

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

2025-09-12 Thread via lldb-commits
@@ -257,12 +257,21 @@ Status ProcessElfCore::DoLoadCore() { // the main executable using data we found in the core file notes. lldb::ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); if (!exe_module_sp) { -// The first entry in the NT_FILE might be our execu

[Lldb-commits] [lldb] [lldb] Unwind through ARM Cortex-M exceptions automatically (PR #153922)

2025-09-12 Thread Jason Molenda via lldb-commits
@@ -799,6 +799,23 @@ Status ProcessMachCore::DoGetMemoryRegionInfo(addr_t load_addr, region_info.SetMapped(MemoryRegionInfo::eNo); } return Status(); + } else { +// The corefile has no LC_SEGMENT at this virtual address, +// but see if there is a binary

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

2025-09-12 Thread via lldb-commits
Author: Roy Shi Date: 2025-09-10T08:21:12-07:00 New Revision: acb38c8be7152aa26e6958752499619ddd1c URL: https://github.com/llvm/llvm-project/commit/acb38c8be7152aa26e6958752499619ddd1c DIFF: https://github.com/llvm/llvm-project/commit/acb38c8be7152aa26e6958752499619ddd1c.diff LOG:

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

2025-09-12 Thread Ilia Kuklin via lldb-commits
kuilpd wrote: Can we add a couple of tests for these to `TestFrameVarDILLiterals.py`? https://github.com/llvm/llvm-project/pull/157992 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commit

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

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

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

2025-09-12 Thread Michael Buch via lldb-commits
Michael137 wrote: Ok so I looked at this with @da-viper offline. This is an existing issue with formatting specifically `const std::unordered_map<..> *`. I added the test as part of this issue: https://github.com/llvm/llvm-project/issues/146040. The following is the discrepancy: ``` (lldb) fra

[Lldb-commits] [lldb] [lldb] Test global variable support of dwim-print (NFC) (PR #157908)

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/157908 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Ilia Kuklin (kuilpd) Changes `Scalar` produced an invalid value when detecting any division by zero. This should be only for integer division. --- Full diff: https://github.com/llvm/llvm-project/pull/158115.diff 2 Files Affected: - (mod

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

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Adrian Prantl (adrian-prantl) Changes https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/lldb-cmake-sanitized/2178/consoleText ``` [2025-09-11T13:10:53.352Z] /Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/l

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

2025-09-12 Thread via lldb-commits
Author: Adrian Prantl Date: 2025-09-11T11:07:38-07:00 New Revision: e0117a555d3c84a1c8e0101fc46fe3a34fa48ce5 URL: https://github.com/llvm/llvm-project/commit/e0117a555d3c84a1c8e0101fc46fe3a34fa48ce5 DIFF: https://github.com/llvm/llvm-project/commit/e0117a555d3c84a1c8e0101fc46fe3a34fa48ce5.diff

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

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (jimingham) Changes 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 scripted r

[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: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r origin/main...HEAD lldb/test/API/functionalities/breakpoint/scripted_bkpt/was_hit/TestWasH

[Lldb-commits] [lldb] [LLDB][NativePDB] Implement `AddSymbols` (PR #154121)

2025-09-12 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu approved this pull request. https://github.com/llvm/llvm-project/pull/154121 ___ 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 Matheus Izvekov via lldb-commits
https://github.com/mizvekov edited 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] [clang] [clang-tools-extra] [lldb] [clang] AST: remove DependentTemplateSpecializationType (PR #158109)

2025-09-12 Thread Matheus Izvekov via lldb-commits
@@ -222,7 +222,6 @@ RegistryMaps::RegistryMaps() { REGISTER_MATCHER(declRefExpr); REGISTER_MATCHER(dependentNameType); REGISTER_MATCHER(dependentScopeDeclRefExpr); - REGISTER_MATCHER(dependentTemplateSpecializationType); mizvekov wrote: The matcher is h

[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 use after free on ModuleList::RemoveSharedModuleIfOrphaned (PR #155331)

2025-09-12 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: We discussed this offline today. I should've been less terse in explaining my idea, which is to use weak pointers all the way down, lock it just before we're going to remove it to create a critical section, account for the increase in refcount, and then release the pointer.

[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] Add boolean literals to DIL. (PR #157992)

2025-09-12 Thread via lldb-commits
https://github.com/cmtice updated https://github.com/llvm/llvm-project/pull/157992 >From 097c19c6f7e76f055cbcc56ec14e5098dcee Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Wed, 10 Sep 2025 21:58:07 -0700 Subject: [PATCH 1/2] [LLDB] Add boolean literals to DIL. This adds the ability to

[Lldb-commits] [lldb] [lldb][test] Enable non-address bit WritePointerToMemory test on Linux (PR #157435)

2025-09-12 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan approved this pull request. Argh, sorry for the delay, I missed the email for this PR. LGTM! I thought the test would need some more work because of the section's names in the json file. https://github.com/llvm/llvm-project/pull/157435

[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] [lldb-dap] Add `debugAdapterEnv` for `attach` requests & improve regex (PR #157980)

2025-09-12 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] 770cd43 - [lldb-dap] Add invalidated event (#157530)

2025-09-12 Thread via lldb-commits
Author: Druzhkov Sergei Date: 2025-09-11T12:06:46-07:00 New Revision: 770cd432a692d9c35285fcbbd8e4fcca172ee7d7 URL: https://github.com/llvm/llvm-project/commit/770cd432a692d9c35285fcbbd8e4fcca172ee7d7 DIFF: https://github.com/llvm/llvm-project/commit/770cd432a692d9c35285fcbbd8e4fcca172ee7d7.dif

[Lldb-commits] [clang] [lldb] [clang][Expr] Teach IgnoreUnlessSpelledInSource about implicit calls to std::get free function (PR #122265)

2025-09-12 Thread Michael Buch via lldb-commits
Michael137 wrote: gentle ping https://github.com/llvm/llvm-project/pull/122265 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2025-09-12 Thread Ebuka Ezike via lldb-commits
da-viper wrote: It was failing because the `typeName` checked by `isUnordered` is const qualified so it does not match the template name. https://github.com/llvm/llvm-project/pull/156033 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https

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

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

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

2025-09-12 Thread Michael Buch via lldb-commits
@@ -113,7 +113,6 @@ def do_test_ptr(self): Test that pointers to std::unordered_map are formatted correctly. """ -self.build() Michael137 wrote: Can we do this in a separate PR? https://github.com/llvm/llvm-project/pull/156033 ___

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

2025-09-12 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. LGTM Could you update the PR description and title before merging? https://github.com/llvm/llvm-project/pull/156033 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.

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

2025-09-12 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper updated https://github.com/llvm/llvm-project/pull/156033 >From 09ad3b0137c3939a76e91409e8194215c1cd94a1 Mon Sep 17 00:00:00 2001 From: Ebuka Ezike Date: Fri, 29 Aug 2025 15:17:29 +0100 Subject: [PATCH] [lldb] fix std::unordered_map formatter for const types. the typ

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

2025-09-12 Thread via lldb-commits
https://github.com/Nerixyz created https://github.com/llvm/llvm-project/pull/158284 If LLDB is built without the DIA SDK enabled, then the native plugin is used regardless of `plugin.symbol-file.pdb.reader` or `LLDB_USE_NATIVE_PDB_READER`. This made the test fail on Windows when the DIA SDK wa

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

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Ebuka Ezike (da-viper) Changes The build step is overidden so it uses `libstdc++` instead of `libc++` on linux --- Full diff: https://github.com/llvm/llvm-project/pull/158286.diff 1 Files Affected: - (modified) lldb/test/API/functionali

[Lldb-commits] [lldb] [lldb] Fix unordered-map data formatter for const types (PR #156033)

2025-09-12 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper edited https://github.com/llvm/llvm-project/pull/156033 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2025-09-12 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper created https://github.com/llvm/llvm-project/pull/158286 The build step is overidden so it uses `libstdc++` instead of `libc++` on linux >From 1cd5ecd349d9b9d8054d409314862b2c0fbb694e Mon Sep 17 00:00:00 2001 From: Ebuka Ezike Date: Fri, 12 Sep 2025 13:23:47 +0100 S

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

2025-09-12 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett edited 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] e8f6180 - [libcxx] adds size-based `__split_buffer` representation to unstable ABI (#139632)

2025-09-12 Thread via lldb-commits
Author: Christopher Di Bella Date: 2025-09-12T06:33:10-07:00 New Revision: e8f61801c6237e56b3d69190af7a7acfdcede1e8 URL: https://github.com/llvm/llvm-project/commit/e8f61801c6237e56b3d69190af7a7acfdcede1e8 DIFF: https://github.com/llvm/llvm-project/commit/e8f61801c6237e56b3d69190af7a7acfdcede1e

[Lldb-commits] [libcxx] [lldb] [libcxx] adds size-based `__split_buffer` representation to unstable ABI (PR #139632)

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

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

2025-09-12 Thread Michael Buch via lldb-commits
https://github.com/Michael137 commented: With each addition to this function my desire to move this into libClang grows stronger. Though I understand that the indexing is an LLDB-specific scheme, so might not be easy to move. https://github.com/llvm/llvm-project/pull/158256 __

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

2025-09-12 Thread Dmitry Vasilyev via lldb-commits
slydiman wrote: Note tests failed because LLDB is broken since https://lab.llvm.org/buildbot/#/builders/195/builds/14502 ``` FAIL: lldb-api::TestVectorOfVectorsFromStdModule.py FAIL: lldb-api::TestDbgInfoContentVectorFromStdModule.py ``` https://github.com/llvm/llvm-project/pull/158304

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

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

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

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Med Ismail Bennani (medismailben) Changes This pages improve the LLDB website documentation readability and discoverability by breaking down the very long python-reference page into multiple subpages each explaining a specific topic. The

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

2025-09-12 Thread David Peixotto via lldb-commits
@@ -0,0 +1,194 @@ +//===-- TestRiscvInstEmulation.cpp ===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

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

2025-09-12 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-12 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] 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 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] [lldb/docs] Breakdown python reference into multiple files (PR #158331)

2025-09-12 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-12 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][NVIDIA] Add NVPTX architecture support (PR #158334)

2025-09-12 Thread Andrew Gontarek via lldb-commits
https://github.com/agontarek created https://github.com/llvm/llvm-project/pull/158334 - 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. >From 0751dd1

[Lldb-commits] [lldb] [NFC][lldb-dap] Fix typo in invalidated event (PR #158338)

2025-09-12 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Druzhkov Sergei (DrSergei) Changes Fixed a typo in the `invalidated` event according to [DAP](https://microsoft.github.io/debug-adapter-protocol/specification#Events_Invalidated) specification. While the field is `frameId` elsewhere, it mu

  1   2   3   >