[Lldb-commits] [lldb] [lldb] Add flag to "settings show" to include default values (PR #153233)

2025-08-16 Thread Dave Lee via lldb-commits
@@ -56,6 +56,11 @@ let Command = "settings clear" in { Desc<"Clear all settings.">; } +let Command = "settings show" in { + def setshow_include_defaults : Option<"include-defaults", "d">, kastiglione wrote: changed to `settings show --defaults`. https:/

[Lldb-commits] [lldb] [lldb] Add flag to "settings show" to include default values (PR #153233)

2025-08-16 Thread Dave Lee via lldb-commits
@@ -338,6 +340,14 @@ class OptionValue { // DeepCopy to it. Inherit from Cloneable to avoid doing this manually. virtual lldb::OptionValueSP Clone() const = 0; + struct DefaultValueFormat { +DefaultValueFormat(Stream &stream) : stream(stream) { + stream.PutCStrin

[Lldb-commits] [lldb] [lldb] Add flag to "settings show" to include default values (PR #153233)

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

[Lldb-commits] [lldb] [lldb] Add flag to "settings show" to include default values (PR #153233)

2025-08-16 Thread Dave Lee via lldb-commits
kastiglione wrote: Updated. Of note: * collection types now show `(default: empty)` * the flag is named `--defaults`, in part because `settings show --show-defaults` seemed redundant * added tests https://github.com/llvm/llvm-project/pull/153233 ___

[Lldb-commits] [lldb] [lldb] Add flag to "settings show" to include default values (PR #153233)

2025-08-16 Thread Dave Lee via lldb-commits
@@ -54,17 +55,18 @@ void OptionValueFormatEntity::DumpValue(const ExecutionContext *exe_ctx, if (dump_mask & eDumpOptionValue) { if (dump_mask & eDumpOptionType) strm.PutCString(" = "); -std::string escaped; -EscapeBackticks(m_current_format, escaped); -

[Lldb-commits] [lldb] [lldb] Add flag to "settings show" to include default values (PR #153233)

2025-08-16 Thread Dave Lee via lldb-commits
https://github.com/kastiglione updated https://github.com/llvm/llvm-project/pull/153233 >From 88b491d4a1a13e1f64efdf8e1bb71c3b58c4b0b5 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Tue, 12 Aug 2025 10:45:04 -0700 Subject: [PATCH 01/10] [lldb] Show setting default in new verbose mode --- lldb/

[Lldb-commits] [lldb] [lldb] Add flag to "settings show" to include default values (PR #153233)

2025-08-16 Thread Dave Lee via lldb-commits
https://github.com/kastiglione ready_for_review https://github.com/llvm/llvm-project/pull/153233 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Make step/s alias for new _regexp-step (PR #153984)

2025-08-16 Thread Dave Lee via lldb-commits
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/153984 Introduces `_regexp-step`, a regex command which allows for stepping into a target function. This change updates `step` and `s` to be aliases for `_regexp-step`. The existing `sif` command ("Step Into Funct

[Lldb-commits] [lldb] [lldb] Make step/s alias for new _regexp-step (PR #153984)

2025-08-16 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) Changes Introduces `_regexp-step`, a regex command which allows for stepping into a target function. This change updates `step` and `s` to be aliases for `_regexp-step`. The existing `sif` command ("Step Into Functio

[Lldb-commits] [lldb] [lldb] Make step/s alias for new _regexp-step (PR #153984)

2025-08-16 Thread Dave Lee via lldb-commits
https://github.com/kastiglione updated https://github.com/llvm/llvm-project/pull/153984 >From 07a8f9b07c67b6a84a922180aaeb5808c84c7fdc Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Sat, 16 Aug 2025 15:37:35 -0700 Subject: [PATCH 1/2] [lldb] Make step/s alias for new _regexp-step Introduces `_r

[Lldb-commits] [lldb] [lldb-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-16 Thread Ely Ronnen via lldb-commits
@@ -981,6 +981,23 @@ struct WriteMemoryResponseBody { }; llvm::json::Value toJSON(const WriteMemoryResponseBody &); +struct DAPGetModuleSymbolsArguments { + /// The module UUID for which to retrieve symbols. + std::optional moduleId; + + /// The module path. + std::optiona

[Lldb-commits] [lldb] [lldb] Make step/s alias for new _regexp-step (PR #153984)

2025-08-16 Thread Dave Lee via lldb-commits
https://github.com/kastiglione updated https://github.com/llvm/llvm-project/pull/153984 >From 07a8f9b07c67b6a84a922180aaeb5808c84c7fdc Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Sat, 16 Aug 2025 15:37:35 -0700 Subject: [PATCH 1/3] [lldb] Make step/s alias for new _regexp-step Introduces `_r

[Lldb-commits] [lldb] [lldb] Make step/s alias for new _regexp-step (PR #153984)

2025-08-16 Thread Dave Lee via lldb-commits
https://github.com/kastiglione edited https://github.com/llvm/llvm-project/pull/153984 ___ 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 module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-16 Thread Ely Ronnen via lldb-commits
@@ -0,0 +1,90 @@ +import type { CellComponent, ColumnDefinition } from "tabulator-tables"; +import type { DAPSymbolType } from ".." + +function get_tabulator_hexa_formatter(padding: number): (cell: CellComponent) => string { + return (cell: CellComponent) => { +const val = c

[Lldb-commits] [lldb] [lldb-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-16 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/tools/lldb-dap/moduleSymbols/TestDAP_moduleSymbols.py lldb/pa

[Lldb-commits] [lldb] [lldb-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-16 Thread Ely Ronnen via lldb-commits
@@ -0,0 +1,185 @@ +import * as vscode from "vscode"; +import { DebugProtocol } from "@vscode/debugprotocol"; + +import { DebugSessionTracker } from "../debug-session-tracker"; +import { DisposableContext } from "../disposable-context"; + +import { DAPSymbolType } from ".."; + +exp

[Lldb-commits] [lldb] [lldb-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-16 Thread Ely Ronnen via lldb-commits
@@ -21,7 +21,7 @@ #include #include -namespace lldb_dap::protocol { +namespace lldb_dap::protocol::dap { eronnen wrote: :100: https://github.com/llvm/llvm-project/pull/153836 ___ lldb-commits mailing list lldb-c

[Lldb-commits] [lldb] [lldb-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-16 Thread Ely Ronnen via lldb-commits
@@ -29,11 +29,15 @@ ], "devDependencies": { "@types/node": "^18.19.41", +"@types/tabulator-tables": "^6.2.10", "@types/vscode": "1.75.0", +"@types/vscode-webview": "^1.57.5", "@vscode/debugprotocol": "^1.68.0", "@vscode/vsce": "^3.2.2", +"esbu

[Lldb-commits] [lldb] [llvm] [LLVM] [LLDB] Emit and handle `lf_alias` nodes (PR #152484)

2025-08-16 Thread via lldb-commits
https://github.com/Walnut356 closed https://github.com/llvm/llvm-project/pull/152484 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Add flag to "settings show" to include default values (PR #153233)

2025-08-16 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) Changes Adds a `--defaults`/`-d` flag to `settings show`. This mode will _optionally_ show a setting's default value. In other words, this does not always print a default value for every setting. A default value is

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

2025-08-16 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda updated https://github.com/llvm/llvm-project/pull/153922 >From eac74f99eab04524756ed6220b10fea9c991ba09 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Fri, 15 Aug 2025 20:58:22 -0700 Subject: [PATCH 1/2] [lldb] Unwind through ARM Cortex-M exceptions automati

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

2025-08-16 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda updated https://github.com/llvm/llvm-project/pull/153922 >From eac74f99eab04524756ed6220b10fea9c991ba09 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Fri, 15 Aug 2025 20:58:22 -0700 Subject: [PATCH 1/4] [lldb] Unwind through ARM Cortex-M exceptions automati

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

2025-08-16 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda edited https://github.com/llvm/llvm-project/pull/153922 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2025-08-16 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda updated https://github.com/llvm/llvm-project/pull/153922 >From eac74f99eab04524756ed6220b10fea9c991ba09 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Fri, 15 Aug 2025 20:58:22 -0700 Subject: [PATCH 1/3] [lldb] Unwind through ARM Cortex-M exceptions automati

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

2025-08-16 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda edited https://github.com/llvm/llvm-project/pull/153922 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Add utility to create Mach-O corefile from YAML desc (PR #153911)

2025-08-16 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda edited https://github.com/llvm/llvm-project/pull/153911 ___ 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 module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-16 Thread Ely Ronnen via lldb-commits
@@ -981,6 +981,23 @@ struct WriteMemoryResponseBody { }; llvm::json::Value toJSON(const WriteMemoryResponseBody &); +struct DAPGetModuleSymbolsArguments { + /// The module UUID for which to retrieve symbols. + std::optional moduleId; eronnen wrote: :100:

[Lldb-commits] [lldb] [LLDB][Value] Require type size when reading a scalar (PR #153386)

2025-08-16 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/153386 >From 8dc9c3bbe20df1f55ebc36b8e2530330947c27e9 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Wed, 13 Aug 2025 12:38:28 +0200 Subject: [PATCH 1/2] [LLDB][Value] Require type size when reading a scalar --- lldb/s

[Lldb-commits] [lldb] [lldb-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-16 Thread Ely Ronnen via lldb-commits
@@ -0,0 +1,185 @@ +import * as vscode from "vscode"; +import { DebugProtocol } from "@vscode/debugprotocol"; + +import { DebugSessionTracker } from "../debug-session-tracker"; +import { DisposableContext } from "../disposable-context"; + +import { DAPSymbolType } from ".."; + +exp

[Lldb-commits] [lldb] [lldb-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-16 Thread Ely Ronnen via lldb-commits
@@ -0,0 +1,14 @@ +export {}; + +/// The symbol type we get from the lldb-dap server +export type DAPSymbolType = { eronnen wrote: :100: https://github.com/llvm/llvm-project/pull/153836 ___ lldb-commits mailing list ll

[Lldb-commits] [lldb] [lldb-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-16 Thread Ely Ronnen via lldb-commits
@@ -259,19 +266,40 @@ { "command": "lldb-dap.modules.copyProperty", "title": "Copy Value" + }, + { +"command": "lldb-dap.modules.showSymbols", +"title": "Show Module Symbols" + }, + { +"category": "lldb-dap", +

[Lldb-commits] [lldb] [lldb-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-16 Thread Ely Ronnen via lldb-commits
@@ -0,0 +1,90 @@ +import type { CellComponent, ColumnDefinition } from "tabulator-tables"; +import type { DAPSymbolType } from ".." + +function get_tabulator_hexa_formatter(padding: number): (cell: CellComponent) => string { + return (cell: CellComponent) => { +const val = c

[Lldb-commits] [lldb] [lldb] Call FixUpPointer in WritePointerToMemory (try 2) (PR #153585)

2025-08-16 Thread Felipe de Azevedo Piovezan via lldb-commits
felipepiovezan wrote: I'm out next week, but I'll have a look at that idea when I'm back! https://github.com/llvm/llvm-project/pull/153585 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-co

[Lldb-commits] [lldb] [vscode-lldb] Support lldb-dap environment in debug configuration (PR #153536)

2025-08-16 Thread Roy Shi via lldb-commits
https://github.com/royitaqi updated https://github.com/llvm/llvm-project/pull/153536 >From a8b0d3ebb8e3b5519ecda14699346123781abc2b Mon Sep 17 00:00:00 2001 From: Roy Shi Date: Wed, 13 Aug 2025 22:47:58 -0700 Subject: [PATCH 1/3] [vscode-lldb] Support lldb-dap environment in debug configuratio