[Lldb-commits] [lldb] [RISCV-LLDB] RISCV feature attribute support and allows overriding additional(default) feature (PR #147990)

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

[Lldb-commits] [lldb] [RISCV-LLDB] RISCV feature attribute support and allows overriding additional(default) feature (PR #147990)

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

[Lldb-commits] [lldb] [llvm] Stateful variable-location annotations in Disassembler::PrintInstructions() (follow-up to #147460) (PR #152887)

2025-08-19 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/disassembler-variables/TestRichDisassembler.py

[Lldb-commits] [lldb] [lldb/API] Add setters to SBStructuredData (PR #154445)

2025-08-19 Thread Jonas Devlieghere via lldb-commits
@@ -81,6 +81,39 @@ class StructuredDataImpl { void SetObjectSP(const StructuredData::ObjectSP &obj) { m_data_sp = obj; } + void SetValueForKey(const char *key, + const StructuredData::ObjectSP &value) const { +if (m_data_sp) { + auto dict = m_

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

2025-08-19 Thread Christopher Di Bella via lldb-commits
@@ -428,50 +653,60 @@ _LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp, _Allocator>::shrink_to_fi } } -template +template class _Layout> template -_LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp, _Allocator>::emplace_front(_Args&&... __args) { - if (__begi

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

2025-08-19 Thread Christopher Di Bella via lldb-commits
@@ -78,23 +336,18 @@ public: __split_buffer, void>; - pointer __first_; - pointer __begin_; - pointer __end_; - _LIBCPP_COMPRESSED_PAIR(pointer, __cap_, allocator_type, __alloc_); - __split_buffer(const __split_buffer&)

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

2025-08-19 Thread Christopher Di Bella via lldb-commits
@@ -428,50 +653,60 @@ _LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp, _Allocator>::shrink_to_fi } } -template +template class _Layout> template -_LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp, _Allocator>::emplace_front(_Args&&... __args) { - if (__begi

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

2025-08-19 Thread Christopher Di Bella via lldb-commits
@@ -45,13 +47,129 @@ _LIBCPP_PUSH_MACROS _LIBCPP_BEGIN_NAMESPACE_STD -// __split_buffer allocates a contiguous chunk of memory and stores objects in the range [__begin_, __end_). -// It has uninitialized memory in the ranges [__first_, __begin_) and [__end_, __cap_). That

[Lldb-commits] [lldb] [lldb] Improve error handling in ObjectFileWasm (PR #154433)

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

[Lldb-commits] [lldb] 7cd6179 - [lldb] Improve error handling in ObjectFileWasm (#154433)

2025-08-19 Thread via lldb-commits
Author: Jonas Devlieghere Date: 2025-08-19T16:00:31-07:00 New Revision: 7cd61793edbb4e6dbc0fb92e5d6d85cabfa62b40 URL: https://github.com/llvm/llvm-project/commit/7cd61793edbb4e6dbc0fb92e5d6d85cabfa62b40 DIFF: https://github.com/llvm/llvm-project/commit/7cd61793edbb4e6dbc0fb92e5d6d85cabfa62b40.d

[Lldb-commits] [lldb] [lldb] Improve error handling in ObjectFileWasm (PR #154433)

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

[Lldb-commits] [lldb] [LLDB] Re-land 'Update DIL handling of array subscripting' (PR #154269)

2025-08-19 Thread via lldb-commits
cmtice wrote: Thank you for confirming this fixed the previous test failure (TestDataFormatterObjCNSContainer.py) https://github.com/llvm/llvm-project/pull/154269 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin

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

2025-08-19 Thread Dmitry Vasilyev via lldb-commits
slydiman wrote: Please fix the issue or revert ASAP to make buildbots green. 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-dap] Add module symbol table viewer to VS Code extension #140626 (PR #153836)

2025-08-19 Thread Ely Ronnen via lldb-commits
eronnen wrote: > I haven't looked at the code yet, but based on the video, I'm assuming this > happens "on demand", right? A user has to interact with the module view to > request the symbols? Yes, the user has to click on "Show Module Symbols" from the context menu of the module tree or thro

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

2025-08-19 Thread Ely Ronnen via lldb-commits
@@ -594,6 +594,20 @@ class CancelRequestHandler : public RequestHandler> { +public: + using RequestHandler::RequestHandler; + static llvm::StringLiteral GetCommand() { return "moduleSymbols"; } eronnen wrote: :100: https://github.com/llvm/llvm-project/pull/1

[Lldb-commits] [lldb] [LLDB] Add `ScalarLiteralNode` and literal parsing in DIL (PR #152308)

2025-08-19 Thread Ilia Kuklin via lldb-commits
kuilpd wrote: @labath I have the next PR standing by, is this one ready for merging? https://github.com/llvm/llvm-project/pull/152308 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commit

[Lldb-commits] [lldb] [lldb] Support error variations in TestProcessCrashInfo.py (PR #154202)

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

[Lldb-commits] [lldb] 4cecbee - [lldb] Support error variations in TestProcessCrashInfo.py (#154202)

2025-08-19 Thread via lldb-commits
Author: Jonas Devlieghere Date: 2025-08-19T10:49:23-07:00 New Revision: 4cecbeed4f4558df9cd221afaaa38e2281d133a2 URL: https://github.com/llvm/llvm-project/commit/4cecbeed4f4558df9cd221afaaa38e2281d133a2 DIFF: https://github.com/llvm/llvm-project/commit/4cecbeed4f4558df9cd221afaaa38e2281d133a2.d

[Lldb-commits] [lldb] [lldb] Replace SmallSet with SmallPtrSet (NFC) (PR #154366)

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

[Lldb-commits] [lldb] [lldb] make lit use the same PYTHONHOME for building and running the API tests (PR #154396)

2025-08-19 Thread Charles Zablit via lldb-commits
charles-zablit wrote: The `lldb-api` tests on the Swift Windows CI fail when the Python we use to build is not the same as the one installed on the system, as can be seen on [this run](https://ci-external.swift.org/job/swift-PR-windows/44473/consoleText). https://github.com/llvm/llvm-project/

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

2025-08-19 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: I haven't looked at the code yet, but based on the video, I'm assuming this happens "on demand", right? A user has to interact with the module view to request the symbols? https://github.com/llvm/llvm-project/pull/153836 ___ lldb

[Lldb-commits] [lldb] [lldb-dap] Migrating 'completions' to structured types. (PR #153317)

2025-08-19 Thread John Harrison via lldb-commits
ashgti wrote: > Missing unit test for `CompletionItem` Done, added unit tests to cover the new JSON types. https://github.com/llvm/llvm-project/pull/153317 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailma

[Lldb-commits] [lldb] [lldb-dap] Migrating 'completions' to structured types. (PR #153317)

2025-08-19 Thread John Harrison via lldb-commits
https://github.com/ashgti updated https://github.com/llvm/llvm-project/pull/153317 >From 3db3a7184eb7d729c37f7dc02f826c77df8c65e9 Mon Sep 17 00:00:00 2001 From: John Harrison Date: Tue, 12 Aug 2025 16:23:18 -0700 Subject: [PATCH 1/4] [lldb-dap] Migrating 'completions' to structured types. This

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

2025-08-19 Thread John Harrison via lldb-commits
https://github.com/ashgti approved this pull request. https://github.com/llvm/llvm-project/pull/153836 ___ 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-19 Thread John Harrison via lldb-commits
ashgti wrote: Just to double check, can you run `npm package && code --install-extension out/lldb-dap.vsix` to make sure the css/js files are bundled correctly. Otherwise, LGTM with the last few comments. https://github.com/llvm/llvm-project/pull/153836

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

2025-08-19 Thread John Harrison via lldb-commits
@@ -39,6 +45,9 @@ export class DebugSessionTracker private modulesChanged = new vscode.EventEmitter< vscode.DebugSession | undefined >(); + private sessionGotCapabilities = ashgti wrote: Sounds good to me https://github.com/llvm/llvm-project/pull/153

[Lldb-commits] [lldb] [lldb] Fix failing test in TestClangREPL (PR #154339)

2025-08-19 Thread Anutosh Bhat via lldb-commits
anutosh491 wrote: Thanks @rastogishubham . I've reapplied the patch ! https://github.com/llvm/llvm-project/pull/154339 ___ 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-19 Thread John Harrison via lldb-commits
@@ -146,6 +164,10 @@ export class DebugSessionTracker this.logger.info( `Session "${session.name}" exited with code ${exitCode}`, ); + + this.sessionExited.fire(session); +} else if (isEvent(message, "capabilities")) { + this.sessionGotCapabili

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

2025-08-19 Thread John Harrison via lldb-commits
@@ -594,6 +594,20 @@ class CancelRequestHandler : public RequestHandler> { +public: + using RequestHandler::RequestHandler; + static llvm::StringLiteral GetCommand() { return "moduleSymbols"; } ashgti wrote: +1 https://github.com/llvm/llvm-project/pull/153836

[Lldb-commits] [lldb] [lldb] Refactoring JSONTransport into an abstract RPC Message Handler and transport layer. (PR #153121)

2025-08-19 Thread John Harrison via lldb-commits
https://github.com/ashgti closed https://github.com/llvm/llvm-project/pull/153121 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 538bd83 - [lldb] Refactoring JSONTransport into an abstract RPC Message Handler and transport layer. (#153121)

2025-08-19 Thread via lldb-commits
Author: John Harrison Date: 2025-08-19T08:46:25-07:00 New Revision: 538bd83b37149fa928fff838d452fa68e5854e1c URL: https://github.com/llvm/llvm-project/commit/538bd83b37149fa928fff838d452fa68e5854e1c DIFF: https://github.com/llvm/llvm-project/commit/538bd83b37149fa928fff838d452fa68e5854e1c.diff

[Lldb-commits] [lldb] [lldb] Fix failing test in TestClangREPL (PR #154339)

2025-08-19 Thread Anutosh Bhat via lldb-commits
https://github.com/anutosh491 updated https://github.com/llvm/llvm-project/pull/154339 >From 009f13dae8f41a28beb59f2c75692a962886d708 Mon Sep 17 00:00:00 2001 From: anutosh491 Date: Tue, 19 Aug 2025 19:25:33 +0530 Subject: [PATCH 1/2] Fix failing test in TestClangREPL --- lldb/test/API/repl/c

[Lldb-commits] [lldb] [lldb] Replace SmallSet with SmallPtrSet (NFC) (PR #154366)

2025-08-19 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Kazu Hirata (kazutakahirata) Changes This patch replaces SmallSet with SmallPtrSet. Note that SmallSet.h "redirects" SmallSet to SmallPtrSet for pointer element types: template class S

[Lldb-commits] [lldb] [lldb] Replace SmallSet with SmallPtrSet (NFC) (PR #154366)

2025-08-19 Thread Kazu Hirata via lldb-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/154366 This patch replaces SmallSet with SmallPtrSet. Note that SmallSet.h "redirects" SmallSet to SmallPtrSet for pointer element types: template class SmallSet : public SmallPtrSet {}; We only have 10 i

[Lldb-commits] [lldb] [lldb] Fix failing test in TestClangREPL (PR #154339)

2025-08-19 Thread Anutosh Bhat via lldb-commits
https://github.com/anutosh491 updated https://github.com/llvm/llvm-project/pull/154339 >From 009f13dae8f41a28beb59f2c75692a962886d708 Mon Sep 17 00:00:00 2001 From: anutosh491 Date: Tue, 19 Aug 2025 19:25:33 +0530 Subject: [PATCH] Fix failing test in TestClangREPL --- lldb/test/API/repl/clang

[Lldb-commits] [lldb] [lldb] Fix failing test in TestClangREPL (PR #154339)

2025-08-19 Thread Shubham Sandeep Rastogi via lldb-commits
rastogishubham wrote: Hi @anutosh491 just referencing my comment https://github.com/llvm/llvm-project/pull/153560#issuecomment-3201252830 Greendragon must always be green, to make sure we catch any issues that break the tests, I reverted the change in https://github.com/llvm/llvm-project/pull

[Lldb-commits] [lldb] [lldb] Fix error : unknown error while starting lldb's C/C++ repl (PR #153560)

2025-08-19 Thread Anutosh Bhat via lldb-commits
anutosh491 wrote: Hey @rastogishubham , I have provided a PR fixing the test in the comment above ! https://github.com/llvm/llvm-project/pull/153560 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[Lldb-commits] [lldb] [lldb] Fix error : unknown error while starting lldb's C/C++ repl (PR #153560)

2025-08-19 Thread Shubham Sandeep Rastogi via lldb-commits
rastogishubham wrote: Hi, this change broke greendragon https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/31613/changes#00ffd8b8aa4e8cd3a2fee654d55995918886e874 TEST 'lldb-api :: repl/clang/TestClangREPL.py' FAILED /Users/ec2-user/jen

[Lldb-commits] [lldb] 5abad32 - Revert "[lldb] Fix error : unknown error while starting lldb's C/C++ repl (#153560)"

2025-08-19 Thread Shubham Sandeep Rastogi via lldb-commits
Author: Shubham Sandeep Rastogi Date: 2025-08-19T08:34:29-07:00 New Revision: 5abad32538d4aa6fa9a418d9dfe74d2fd275efd7 URL: https://github.com/llvm/llvm-project/commit/5abad32538d4aa6fa9a418d9dfe74d2fd275efd7 DIFF: https://github.com/llvm/llvm-project/commit/5abad32538d4aa6fa9a418d9dfe74d2fd275

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

2025-08-19 Thread Walter Erquinigo via lldb-commits
@@ -594,6 +594,20 @@ class CancelRequestHandler : public RequestHandler> { +public: + using RequestHandler::RequestHandler; + static llvm::StringLiteral GetCommand() { return "moduleSymbols"; } walter-erquinigo wrote: Good suggestion. I've been trying to use t

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

2025-08-19 Thread Walter Erquinigo via lldb-commits
walter-erquinigo wrote: This lgtm, please get a final approval from @ashgti https://github.com/llvm/llvm-project/pull/153836 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Re-land 'Update DIL handling of array subscripting' (PR #154269)

2025-08-19 Thread via lldb-commits
cmtice wrote: > > Hopefully > > Does that mean you didn't check if it fixes it? I think we should understand > how the test passed without this PR before including that. I do not have the right machines, etc. to test it. I have asked some friends at Apple to test it for me, but have not heard

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

2025-08-19 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo approved this pull request. https://github.com/llvm/llvm-project/pull/153836 ___ 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-19 Thread Walter Erquinigo via lldb-commits
@@ -324,6 +324,8 @@ class LLDB_API SBTarget { lldb::SBModule FindModule(const lldb::SBFileSpec &file_spec); + lldb::SBModule FindModule(const lldb::SBModuleSpec &module_spec); walter-erquinigo wrote: I think I didn't explain myself clearly. I just wanted

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

2025-08-19 Thread Dave Lee via lldb-commits
https://github.com/kastiglione closed 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] 6e3c7b8 - [lldb] Make step/s alias for new _regexp-step (#153984)

2025-08-19 Thread via lldb-commits
Author: Dave Lee Date: 2025-08-19T08:29:25-07:00 New Revision: 6e3c7b8244e9067721ccd0d786755f2ae9c96a87 URL: https://github.com/llvm/llvm-project/commit/6e3c7b8244e9067721ccd0d786755f2ae9c96a87 DIFF: https://github.com/llvm/llvm-project/commit/6e3c7b8244e9067721ccd0d786755f2ae9c96a87.diff LOG:

[Lldb-commits] [lldb] [lldb] Refactoring JSONTransport into an abstract RPC Message Handler and transport layer. (PR #153121)

2025-08-19 Thread Pavel Labath via lldb-commits
https://github.com/labath approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/153121 ___ 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-19 Thread Dmitry Vasilyev via lldb-commits
slydiman wrote: The following buildbots are broken after this patch [lldb-x86_64-win](https://lab.llvm.org/buildbot/#/builders/211/builds/1439) [lldb-remote-linux-win](https://lab.llvm.org/buildbot/#/builders/197/builds/8177) Please take a look and fix. https://github.com/llvm/llvm-project/pull

[Lldb-commits] [lldb] [LLDB] Re-land 'Update DIL handling of array subscripting' (PR #154269)

2025-08-19 Thread Pavel Labath via lldb-commits
labath wrote: > Hopefully Does that mean you didn't check if it fixes it? I think we should understand how the test passed without this PR before including that. https://github.com/llvm/llvm-project/pull/154269 ___ lldb-commits mailing list lldb-comm

[Lldb-commits] [lldb] [lldb] Fix failing test in TestClangREPL (PR #154339)

2025-08-19 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Anutosh Bhat (anutosh491) Changes Addressing https://github.com/llvm/llvm-project/pull/153560?notification_referrer_id=NT_kwDOBTBQx7QxODIyMDYwOTQ1ODo4NzA1MjQ4Nw#issuecomment-3199157830 The test runs as expected now ``` anutosh491@Anutoshs

[Lldb-commits] [lldb] [lldb] Fix failing test in TestClangREPL (PR #154339)

2025-08-19 Thread Anutosh Bhat via lldb-commits
https://github.com/anutosh491 created https://github.com/llvm/llvm-project/pull/154339 Addressing https://github.com/llvm/llvm-project/pull/153560?notification_referrer_id=NT_kwDOBTBQx7QxODIyMDYwOTQ1ODo4NzA1MjQ4Nw#issuecomment-3199157830 The test runs as expected now ``` anutosh491@Anutoshs-M

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

2025-08-19 Thread Charles Zablit via lldb-commits
https://github.com/charles-zablit closed 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] f55dc08 - [lldb][windows] use Windows APIs to print to the console (#149493)

2025-08-19 Thread via lldb-commits
Author: Charles Zablit Date: 2025-08-19T14:52:29+01:00 New Revision: f55dc0824ebcf546b1d34a5102021c15101e4d3b URL: https://github.com/llvm/llvm-project/commit/f55dc0824ebcf546b1d34a5102021c15101e4d3b DIFF: https://github.com/llvm/llvm-project/commit/f55dc0824ebcf546b1d34a5102021c15101e4d3b.diff

[Lldb-commits] [lldb] [lldb] Fix error : unknown error while starting lldb's C/C++ repl (PR #153560)

2025-08-19 Thread Anutosh Bhat via lldb-commits
anutosh491 wrote: Hi, I have been trying to figure the above error out. I'm on macos and I was trying to build and run the tests locally. So I build lldb like this ``` cmake -G Ninja \ -S llvm-project/llvm \ -B ~/build/lldb \ -C "$(pwd)/llvm-project/lldb/cmake/caches/Apple-lldb-macOS.cm

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

2025-08-19 Thread via lldb-commits
tgs-sc wrote: @Michael137, is it OK? https://github.com/llvm/llvm-project/pull/154123 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix source line annotations for libsanitizers traces (PR #154247)

2025-08-19 Thread Michael Buch via lldb-commits
@@ -248,6 +248,8 @@ enum class IterationAction { Stop, }; +enum class TracePCType { Returns, ReturnsNoZerothFrame, Calls }; Michael137 wrote: Can we add some doxygen comments here to explain each of these cases? https://github.com/llvm/llvm-project/pull/15

[Lldb-commits] [lldb] [lldb] Fix source line annotations for libsanitizers traces (PR #154247)

2025-08-19 Thread Michael Buch via lldb-commits
@@ -176,10 +170,23 @@ HistoryThreads MemoryHistoryASan::GetHistoryThreads(lldb::addr_t address) { options.SetAutoApplyFixIts(false); options.SetLanguage(eLanguageTypeObjC_plus_plus); - if (auto m = GetPreferredAsanModule(process_sp->GetTarget())) { -SymbolContextList

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

2025-08-19 Thread Ebuka Ezike via lldb-commits
@@ -594,6 +594,20 @@ class CancelRequestHandler : public RequestHandler> { +public: + using RequestHandler::RequestHandler; + static llvm::StringLiteral GetCommand() { return "moduleSymbols"; } da-viper wrote: I think we could put the command behind some kind

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

2025-08-19 Thread Ely Ronnen via lldb-commits
@@ -0,0 +1,37 @@ +""" +Test lldb-dap moduleSymbols request +""" + +import lldbdap_testcase + + +class TestDAP_moduleSymbols(lldbdap_testcase.DAPTestCaseBase): +def test_moduleSymbols(self): +""" +Test that the stack frame without a module still has assembly sou

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

2025-08-19 Thread Ely Ronnen via lldb-commits
@@ -146,6 +164,10 @@ export class DebugSessionTracker this.logger.info( `Session "${session.name}" exited with code ${exitCode}`, ); + + this.sessionExited.fire(session); +} else if (isEvent(message, "capabilities")) { + this.sessionGotCapabili

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

2025-08-19 Thread Ely Ronnen via lldb-commits
@@ -39,6 +45,9 @@ export class DebugSessionTracker private modulesChanged = new vscode.EventEmitter< vscode.DebugSession | undefined >(); + private sessionGotCapabilities = eronnen wrote: changed to `sessionReceivedCapabilities` is it ok? And I don't

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

2025-08-19 Thread Ely Ronnen via lldb-commits
@@ -0,0 +1,89 @@ +//===-- ModuleSymbolsRequestHandler.cpp -===// eronnen wrote: :100: https://github.com/llvm/llvm-project/pull/153836 ___ lldb-commits mailing list lldb-commits@lists.llvm.

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

2025-08-19 Thread Ely Ronnen via lldb-commits
@@ -46,6 +46,10 @@ ConfigurationDoneRequestHandler::Run(const ConfigurationDoneArguments &) const { // may have different capabilities than the final target. SendTargetBasedCapabilities(dap); + /// Send custom capabilities to the client. + /// This is consumed by the ll

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

2025-08-19 Thread Ely Ronnen via lldb-commits
@@ -85,6 +85,12 @@ class LLDB_API SBSymbol { SymbolType GetType(); + /// Get the ID of this symbol, usually the original symbol table index. . eronnen wrote: :100: https://github.com/llvm/llvm-project/pull/153836

[Lldb-commits] [lldb] [lldb] Don't crash if no default unwind plan (PR #152481)

2025-08-19 Thread Nikita Popov via lldb-commits
nikic wrote: Ping https://github.com/llvm/llvm-project/pull/152481 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits