[Lldb-commits] [lldb] [lldb] Set return status to Failed when Python command raises uncaught exception (PR #113996)

2024-10-28 Thread Dave Lee via lldb-commits
https://github.com/kastiglione edited https://github.com/llvm/llvm-project/pull/113996 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Set return status to Failed when Python command raises uncaught exception (PR #113996)

2024-10-28 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/113996.diff 3 Files Affected: - (modified) lldb/bindings/python/python-wrapper.swig (+11-2) - (added) lldb/test/API/commands/command/script/except

[Lldb-commits] [lldb] [lldb] Set return status to Failed when Python command raises uncaught exception (PR #113996)

2024-10-28 Thread Dave Lee via lldb-commits
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/113996 None >From 75f96b84c9bd2b3211edb5fa8806092711133251 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Mon, 28 Oct 2024 15:49:50 -0700 Subject: [PATCH] [lldb] Set return status to Failed when Python command rais

[Lldb-commits] [lldb] [llvm] [lldb-dap] Support column breakpoints (PR #113787)

2024-10-28 Thread Adrian Vogelsgesang via lldb-commits
vogelsgesang wrote: > does this feature require compiling target with -gcolumn-info to work? Apparently, `-gcolumn-info` is on by default. If I pass `-gno-column-info`, the test case actually fails. But as long as I don't pass anything, column info seems to be included in the debug info. htt

[Lldb-commits] [lldb] [lldb] Search main function with lldb::eFunctionNameTypeFull when getting default file and line. (PR #113980)

2024-10-28 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Zequan Wu (ZequanWu) Changes This is to work around the fact that `SymbolFileNativePDB::FindFunctions` only support `lldb::eFunctionNameTypeFull` and `lldb::eFunctionNameTypeMethod` now. Since `main`'s full name is the same as base name (`

[Lldb-commits] [lldb] [lldb] Search main function with lldb::eFunctionNameTypeFull when getting default file and line. (PR #113980)

2024-10-28 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu created https://github.com/llvm/llvm-project/pull/113980 This is to work around the fact that `SymbolFileNativePDB::FindFunctions` only support `lldb::eFunctionNameTypeFull` and `lldb::eFunctionNameTypeMethod` now. Since `main`'s full name is the same as base name (

[Lldb-commits] [lldb] [llvm] [lldb-dap] Support column breakpoints (PR #113787)

2024-10-28 Thread via lldb-commits
jeffreytan81 wrote: @vogelsgesang, does this feature require compiling target with `-gcolumn-info` to work? If so, any reason I did not see `-gcolumn-info` in the testcase Makefile? https://github.com/llvm/llvm-project/pull/113787 ___ lldb-commits m

[Lldb-commits] [lldb] Fix statistics dump to report per-target (PR #113723)

2024-10-28 Thread via lldb-commits
@@ -426,6 +426,8 @@ class LLDB_API SBDebugger { SBTypeSynthetic GetSyntheticForType(SBTypeNameSpecifier); + void ResetStatistics(); jeffreytan81 wrote: Comments added. I do not think we need to clear any breakpoint stats because they are not reused acros

[Lldb-commits] [lldb] Fix statistics dump to report per-target (PR #113723)

2024-10-28 Thread via lldb-commits
https://github.com/jeffreytan81 updated https://github.com/llvm/llvm-project/pull/113723 >From abf234c1009b23b000a2b39684fb888084cf5e8c Mon Sep 17 00:00:00 2001 From: jeffreytan81 Date: Thu, 24 Oct 2024 17:14:55 -0700 Subject: [PATCH 1/2] Report statistics per target --- lldb/include/lldb/API

[Lldb-commits] [lldb] [llvm] [lldb-dap] Support column breakpoints (PR #113787)

2024-10-28 Thread Adrian Vogelsgesang via lldb-commits
https://github.com/vogelsgesang edited https://github.com/llvm/llvm-project/pull/113787 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [debugserver] Mark ASAN memory regions as "heap" (PR #113968)

2024-10-28 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan created https://github.com/llvm/llvm-project/pull/113968 This memory type is currently not handled, but it makes sense to mark it as a heap allocation in requests asking for memory region info. >From 55d3e6002d05e71750daca208a93aa308dbb7512 Mon Sep 17 00:00:00

[Lldb-commits] [lldb] Fix statistics dump to report per-target (PR #113723)

2024-10-28 Thread Greg Clayton via lldb-commits
@@ -1600,6 +1600,15 @@ bool Module::MergeArchitecture(const ArchSpec &arch_spec) { return SetArchitecture(merged_arch); } +void Module::ResetStatistics() { + m_symtab_parse_time.reset(); + m_symtab_index_time.reset(); + SymbolFile *sym_file = GetSymbolFile(); + if (sym_

[Lldb-commits] [lldb] 474234a - [debugserver] Mark ASAN memory regions as "heap" (#113968)

2024-10-28 Thread via lldb-commits
Author: Felipe de Azevedo Piovezan Date: 2024-10-28T15:02:07-07:00 New Revision: 474234a09655e57b7a4270150f0926db77e864b4 URL: https://github.com/llvm/llvm-project/commit/474234a09655e57b7a4270150f0926db77e864b4 DIFF: https://github.com/llvm/llvm-project/commit/474234a09655e57b7a4270150f0926db7

[Lldb-commits] [lldb] [debugserver] Mark ASAN memory regions as "heap" (PR #113968)

2024-10-28 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/113968 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [debugserver] Mark ASAN memory regions as "heap" (PR #113968)

2024-10-28 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan closed https://github.com/llvm/llvm-project/pull/113968 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [debugserver] Mark ASAN memory regions as "heap" (PR #113968)

2024-10-28 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Felipe de Azevedo Piovezan (felipepiovezan) Changes This memory type is currently not handled, but it makes sense to mark it as a heap allocation in requests asking for memory region info. --- Full diff: https://github.com/llvm/llvm-projec

[Lldb-commits] [lldb] Fix statistics dump to report per-target (PR #113723)

2024-10-28 Thread Greg Clayton via lldb-commits
@@ -101,6 +101,9 @@ class LLDB_API SBTarget { /// A SBStructuredData with the statistics collected. lldb::SBStructuredData GetStatistics(SBStatisticsOptions options); + /// Reset the statistics collected for this target. clayborg wrote: Document this

[Lldb-commits] [lldb] Fix statistics dump to report per-target (PR #113723)

2024-10-28 Thread Greg Clayton via lldb-commits
https://github.com/clayborg commented: So this patch seems to just clear the module + symbol file stats, not any breakpoint resolve times, etc. https://github.com/llvm/llvm-project/pull/113723 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [lldb] Fix statistics dump to report per-target (PR #113723)

2024-10-28 Thread Greg Clayton via lldb-commits
@@ -426,6 +426,8 @@ class LLDB_API SBDebugger { SBTypeSynthetic GetSyntheticForType(SBTypeNameSpecifier); + void ResetStatistics(); clayborg wrote: Add a header doc comment for this to document what this will do: - clear all stats for all modules in all t

[Lldb-commits] [lldb] Fix statistics dump to report per-target (PR #113723)

2024-10-28 Thread Greg Clayton via lldb-commits
https://github.com/clayborg edited https://github.com/llvm/llvm-project/pull/113723 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [NFC][lldb-dap] Clean-up includes (PR #113839)

2024-10-28 Thread Adrian Vogelsgesang via lldb-commits
@@ -6,25 +6,21 @@ // //===--===// -#include #include #include #include #include #include "llvm/ADT/StringRef.h" -#include "llvm/Support/FormatAdapters.h" #include "llvm/Support/FormatVariadic.h"

[Lldb-commits] [lldb] [llvm] [DO NOT MERGE] Test libc++ CI LLDB DAP failures (PR #113891)

2024-10-28 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/113891 >From 40bbe1d8f72f697c0c4759fa68f2bd64a50d742c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 28 Oct 2024 10:07:36 + Subject: [PATCH 1/3] Init --- .github/workflows/libcxx-build-and-test.yaml |

[Lldb-commits] [lldb] [llvm] [lldb-dap] Always pass disableASLR to the DAP executable (PR #113891)

2024-10-28 Thread Michael Buch via lldb-commits
Michael137 wrote: Confirmed the libc++ tests pass. Removing them from this PR https://github.com/llvm/llvm-project/pull/113891 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Always pass disableASLR to the DAP executable (PR #113891)

2024-10-28 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/113891 >From 5da7c345986693a4156ccc2f3ea6de3877e4330d Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 28 Oct 2024 17:07:38 + Subject: [PATCH] [lldb-dap] Always pass disableASLR to the DAP executable More

[Lldb-commits] [lldb] Revert "Add the ability to break on call-site locations, improve inli… (PR #113947)

2024-10-28 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (jimingham) Changes …ne stepping (#112939)" This was breaking some gdb-remote packet counting tests on the bots. I can't see how this patch could cause that breakage, but I'm reverting to figure that out. This reverts commit f14743

[Lldb-commits] [lldb] b54bc10 - Revert "Add the ability to break on call-site locations, improve inli… (#113947)

2024-10-28 Thread via lldb-commits
Author: jimingham Date: 2024-10-28T11:52:32-07:00 New Revision: b54bc104ea87e301816b450ee117d2d864c7d82d URL: https://github.com/llvm/llvm-project/commit/b54bc104ea87e301816b450ee117d2d864c7d82d DIFF: https://github.com/llvm/llvm-project/commit/b54bc104ea87e301816b450ee117d2d864c7d82d.diff LOG

[Lldb-commits] [lldb] Revert "Add the ability to break on call-site locations, improve inli… (PR #113947)

2024-10-28 Thread via lldb-commits
https://github.com/jimingham closed https://github.com/llvm/llvm-project/pull/113947 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Revert "Add the ability to break on call-site locations, improve inli… (PR #113947)

2024-10-28 Thread via lldb-commits
https://github.com/jimingham created https://github.com/llvm/llvm-project/pull/113947 …ne stepping (#112939)" This was breaking some gdb-remote packet counting tests on the bots. I can't see how this patch could cause that breakage, but I'm reverting to figure that out. This reverts commit

[Lldb-commits] [lldb] [NFC][lldb-dap] Clean-up includes (PR #113839)

2024-10-28 Thread Zequan Wu via lldb-commits
@@ -6,25 +6,21 @@ // //===--===// -#include #include #include #include #include #include "llvm/ADT/StringRef.h" -#include "llvm/Support/FormatAdapters.h" #include "llvm/Support/FormatVariadic.h"

[Lldb-commits] [lldb] 19c0a74 - [lldb] Fix lldb windows build breakage from https://github.com/llvm/llvm-project/pull/113839.

2024-10-28 Thread Zequan Wu via lldb-commits
Author: Zequan Wu Date: 2024-10-28T11:13:00-07:00 New Revision: 19c0a74ad6baa9eb38dbe0a20af7c67999c41821 URL: https://github.com/llvm/llvm-project/commit/19c0a74ad6baa9eb38dbe0a20af7c67999c41821 DIFF: https://github.com/llvm/llvm-project/commit/19c0a74ad6baa9eb38dbe0a20af7c67999c41821.diff LOG

[Lldb-commits] [lldb] Add the ability to break on call-site locations, improve inline stepping (PR #112939)

2024-10-28 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running on `linaro-lldb-arm-ubuntu` while building `lldb` at step 6 "test". Full details are available at: https://lab.llvm.org/buildbot/#/builders/18/builds/6021 Here is the relevant piece of the build log

[Lldb-commits] [lldb] [llvm] [lldb-dap] Support column breakpoints (PR #113787)

2024-10-28 Thread Adrian Vogelsgesang via lldb-commits
@@ -910,6 +911,183 @@ void request_attach(const llvm::json::Object &request) { } } +// "BreakpointLocationsRequest": { +// "allOf": [ { "$ref": "#/definitions/Request" }, { +// "type": "object", +// "description": "The `breakpointLocations` request returns all poss

[Lldb-commits] [lldb] [llvm] [lldb-dap] Always pass disableASLR to the DAP executable (PR #113891)

2024-10-28 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/113891 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [lldb-dap] Always pass disableASLR to the DAP executable (PR #113891)

2024-10-28 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/113891 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [lldb-dap] Always pass disableASLR to the DAP executable (PR #113891)

2024-10-28 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/113891 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [lldb-dap] Always pass disableASLR to the DAP executable (PR #113891)

2024-10-28 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/113891 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [lldb-dap] Always pass disableASLR to the DAP executable (PR #113891)

2024-10-28 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/113891 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [DO NOT MERGE] Test libc++ CI LLDB DAP failures (PR #113891)

2024-10-28 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb @llvm/pr-subscribers-libcxx Author: Michael Buch (Michael137) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/113891.diff 2 Files Affected: - (modified) .github/workflows/libcxx-build-and-test.yaml (+11-8) - (modified) lldb/pa

[Lldb-commits] [lldb] [llvm] [DO NOT MERGE] Test libc++ CI LLDB DAP failures (PR #113891)

2024-10-28 Thread Michael Buch via lldb-commits
https://github.com/Michael137 ready_for_review https://github.com/llvm/llvm-project/pull/113891 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [DO NOT MERGE] Test libc++ CI LLDB DAP failures (PR #113891)

2024-10-28 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/113891 >From 0c676a6001ac38cab2eacb54a6cce57df178007a Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 28 Oct 2024 10:07:36 + Subject: [PATCH 1/2] [DO-NOT-MERGE] libc++ CI change for testing --- .github/

[Lldb-commits] [lldb] Add the ability to break on call-site locations, improve inline stepping (PR #112939)

2024-10-28 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-x86_64-debian` running on `lldb-x86_64-debian` while building `lldb` at step 6 "test". Full details are available at: https://lab.llvm.org/buildbot/#/builders/162/builds/9193 Here is the relevant piece of the build log

[Lldb-commits] [lldb] Add the ability to break on call-site locations, improve inline stepping (PR #112939)

2024-10-28 Thread via lldb-commits
https://github.com/jimingham closed https://github.com/llvm/llvm-project/pull/112939 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] f147437 - Add the ability to break on call-site locations, improve inline stepping (#112939)

2024-10-28 Thread via lldb-commits
Author: jimingham Date: 2024-10-28T10:01:57-07:00 New Revision: f14743794587db102c6d1b20f9c87a1ac20decfd URL: https://github.com/llvm/llvm-project/commit/f14743794587db102c6d1b20f9c87a1ac20decfd DIFF: https://github.com/llvm/llvm-project/commit/f14743794587db102c6d1b20f9c87a1ac20decfd.diff LOG

[Lldb-commits] [lldb] [lldb][test] Skip libc++ tests if it is linked statically (PR #113935)

2024-10-28 Thread Vladislav Dzhidzhoev via lldb-commits
https://github.com/dzhidzhoev updated https://github.com/llvm/llvm-project/pull/113935 >From 9186c689391a96b09f947e6799d205054cf199ab Mon Sep 17 00:00:00 2001 From: Vladislav Dzhidzhoev Date: Mon, 28 Oct 2024 16:46:39 +0100 Subject: [PATCH 1/3] Revert "[lldb][test] Skip Test*FromStdModule tests

[Lldb-commits] [lldb] [llvm] [lldb-dap] Support column breakpoints (PR #113787)

2024-10-28 Thread John Harrison via lldb-commits
https://github.com/ashgti approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/113787 ___ 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 libc++ tests if it is linked statically (PR #113935)

2024-10-28 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 8ae39c8e34de2d24c46827b324c76bac845c18b0...77b2ad3e3975ed5b4e0f23efd64999abc92175e7 lldb/

[Lldb-commits] [lldb] [lldb][test] Skip libc++ tests if it is linked statically (PR #113935)

2024-10-28 Thread Vladislav Dzhidzhoev via lldb-commits
https://github.com/dzhidzhoev created https://github.com/llvm/llvm-project/pull/113935 Some tests from 'import-std-module' used to fail on the builder https://lab.llvm.org/staging/#/builders/195/builds/4470, since libcxx is set up to be linked statically with the binary on it. Thus, they were t

[Lldb-commits] [lldb] [llvm] [lldb-dap] Support column breakpoints (PR #113787)

2024-10-28 Thread John Harrison via lldb-commits
@@ -910,6 +911,183 @@ void request_attach(const llvm::json::Object &request) { } } +// "BreakpointLocationsRequest": { +// "allOf": [ { "$ref": "#/definitions/Request" }, { +// "type": "object", +// "description": "The `breakpointLocations` request returns all poss

[Lldb-commits] [lldb] Add the ability to break on call-site locations, improve inline stepping (PR #112939)

2024-10-28 Thread via lldb-commits
https://github.com/jimingham updated https://github.com/llvm/llvm-project/pull/112939 >From 9c6705b21df14dc911665e1082c9b31ce00d7e7c Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Thu, 3 Oct 2024 18:24:46 -0700 Subject: [PATCH 01/12] Add the ability to break on call-site locations, report the

[Lldb-commits] [lldb] [llvm] [lldb-dap] Support column breakpoints (PR #113787)

2024-10-28 Thread John Harrison via lldb-commits
https://github.com/ashgti edited https://github.com/llvm/llvm-project/pull/113787 ___ 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 libc++ tests if it is linked statically (PR #113935)

2024-10-28 Thread Vladislav Dzhidzhoev via lldb-commits
https://github.com/dzhidzhoev edited https://github.com/llvm/llvm-project/pull/113935 ___ 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 libc++ tests if it is linked statically (PR #113935)

2024-10-28 Thread Vladislav Dzhidzhoev via lldb-commits
https://github.com/dzhidzhoev edited https://github.com/llvm/llvm-project/pull/113935 ___ 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 libc++ tests if it is linked statically (PR #113935)

2024-10-28 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Vladislav Dzhidzhoev (dzhidzhoev) Changes Some tests from 'import-std-module' used to fail on the builder https://lab.llvm.org/staging/#/builders/195/builds/4470, since libcxx is set up to be linked statically with the binary on it. Thus, t

[Lldb-commits] [lldb] [llvm] [DO NOT MERGE] Test libc++ CI LLDB DAP failures (PR #113891)

2024-10-28 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 09c258ef6a2fcca2161488b214d53ef39891fa22...7071fe89e227f5231ac0d2d96bcc276fe89c1749 lldb/

[Lldb-commits] [lldb] [llvm] [lldb-dap] Support column breakpoints (PR #113787)

2024-10-28 Thread David Blaikie via lldb-commits
@@ -78,7 +78,7 @@ class DWARFDebugLine { /// The maximum number of individual operations that may be encoded in an /// instruction. uint8_t MaxOpsPerInst; -/// The initial value of theis_stmtregister. +/// The initial value of the is_stmt register. -

[Lldb-commits] [lldb] [lldb] Load embedded type summary section (#7859) (#8040) (PR #113743)

2024-10-28 Thread David Spickett via lldb-commits
DavidSpickett wrote: > This upstreams the embedded type summary feature from the swiftlang branch of > LLDB, since it shares a lot of the same goals and design points with > https://github.com/llvm/llvm-project/pull/113398 Just want to be extra clear here, this shares some of the same goals bu

[Lldb-commits] [lldb] [lldb] Load embedded type summary section (#7859) (#8040) (PR #113743)

2024-10-28 Thread David Spickett via lldb-commits
@@ -1537,6 +1538,76 @@ static void LoadScriptingResourceForModule(const ModuleSP &module_sp, feedback_stream.GetData()); } +// Load type summaries embedded in the binary. These are type summaries provided +// by the authors o

[Lldb-commits] [lldb] [lldb] Load embedded type summary section (#7859) (#8040) (PR #113743)

2024-10-28 Thread David Spickett via lldb-commits
@@ -0,0 +1,22 @@ +#include + +struct Player { + char *name; + int number; +}; + +__attribute__((used, section("__DATA_CONST,__lldbsummaries"))) unsigned char +_Player_type_summary[] = "\x01" // version + "\x25" // record size +

[Lldb-commits] [lldb] [lldb] Load embedded type summary section (#7859) (#8040) (PR #113743)

2024-10-28 Thread David Spickett via lldb-commits
@@ -1537,6 +1538,76 @@ static void LoadScriptingResourceForModule(const ModuleSP &module_sp, feedback_stream.GetData()); } +// Load type summaries embedded in the binary. These are type summaries provided +// by the authors o

[Lldb-commits] [lldb] [lldb] Load embedded type summary section (#7859) (#8040) (PR #113743)

2024-10-28 Thread David Spickett via lldb-commits
@@ -1537,6 +1538,76 @@ static void LoadScriptingResourceForModule(const ModuleSP &module_sp, feedback_stream.GetData()); } +// Load type summaries embedded in the binary. These are type summaries provided +// by the authors o

[Lldb-commits] [lldb] [lldb] Add a compiler/interpreter of LLDB data formatter bytecode to lldb/examples (PR #113398)

2024-10-28 Thread David Spickett via lldb-commits
@@ -0,0 +1,165 @@ +# A bytecode for (LLDB) data formatters + +## Background + +LLDB provides very rich customization options to display data types (see https://lldb.llvm.org/use/variable.html ). To use custom data formatters, developers typically need to edit the global `~/.lldb

[Lldb-commits] [lldb] [lldb] Add a compiler/interpreter of LLDB data formatter bytecode to lldb/examples (PR #113398)

2024-10-28 Thread David Spickett via lldb-commits
@@ -0,0 +1,486 @@ +""" +Specification, compiler, disassembler, and interpreter +for LLDB dataformatter bytecode. + +See formatter-bytecode.md for more details. +""" +from __future__ import annotations + +# Types +type_String = 1 +type_Int = 2 +type_UInt = 3 +type_Object = 4 +type_

[Lldb-commits] [lldb] [lldb] Add a compiler/interpreter of LLDB data formatter bytecode to lldb/examples (PR #113398)

2024-10-28 Thread David Spickett via lldb-commits
@@ -0,0 +1,165 @@ +# A bytecode for (LLDB) data formatters + +## Background + +LLDB provides very rich customization options to display data types (see https://lldb.llvm.org/use/variable.html ). To use custom data formatters, developers typically need to edit the global `~/.lldb

[Lldb-commits] [lldb] [llvm] [DO NOT MERGE] Test libc++ CI LLDB DAP failures (PR #113891)

2024-10-28 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/113891 >From 40bbe1d8f72f697c0c4759fa68f2bd64a50d742c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 28 Oct 2024 10:07:36 + Subject: [PATCH 1/2] Init --- .github/workflows/libcxx-build-and-test.yaml |

[Lldb-commits] [lldb] [llvm] [lldb-dap] Support column breakpoints (PR #113787)

2024-10-28 Thread Adrian Vogelsgesang via lldb-commits
https://github.com/vogelsgesang updated https://github.com/llvm/llvm-project/pull/113787 >From af45bc2e24623d7225d24a4680a28630d67d636e Mon Sep 17 00:00:00 2001 From: Adrian Vogelsgesang Date: Sat, 26 Oct 2024 14:34:31 + Subject: [PATCH 1/3] [lldb-dap] Support column breakpoints This commi

[Lldb-commits] [lldb] 09c258e - [NFC][lldb-dap] Clean-up includes (#113839)

2024-10-28 Thread via lldb-commits
Author: Adrian Vogelsgesang Date: 2024-10-28T11:01:57+01:00 New Revision: 09c258ef6a2fcca2161488b214d53ef39891fa22 URL: https://github.com/llvm/llvm-project/commit/09c258ef6a2fcca2161488b214d53ef39891fa22 DIFF: https://github.com/llvm/llvm-project/commit/09c258ef6a2fcca2161488b214d53ef39891fa22

[Lldb-commits] [lldb] [NFC][lldb-dap] Clean-up includes (PR #113839)

2024-10-28 Thread Adrian Vogelsgesang via lldb-commits
https://github.com/vogelsgesang closed https://github.com/llvm/llvm-project/pull/113839 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [DebugInfo] Add explicit visibility macros to CodeView template functions (PR #113102)

2024-10-28 Thread Vassil Vassilev via lldb-commits
vgvassilev wrote: @JDevlieghere, ping. https://github.com/llvm/llvm-project/pull/113102 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits