[Lldb-commits] [lldb] [lldb][elf-core][ARM] Add support for VFP registers (PR #155956)

2025-09-03 Thread Igor Kudrin via lldb-commits
@@ -688,6 +688,27 @@ def test_arm_core(self): values["lr"] = "0x000e" values["pc"] = "0x000f" values["cpsr"] = "0x0010" +for i in range(32): +values["s" + str(i)] = str(i) +values["fpscr"] = "0x12345678" +v

[Lldb-commits] [lldb] [lldb-dap] Add new optional argument `time-to-live` when using `--connection` (PR #156803)

2025-09-03 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Roy Shi (royitaqi) Changes # Usage ``` --time-to-live When using --connection, the number of milliseconds to wait for new connections at the beginning and after all clients have disconnected. Not specifyin

[Lldb-commits] [lldb] [lldb-dap] Add new optional argument `time-to-live` when using `--connection` (PR #156803)

2025-09-03 Thread Roy Shi via lldb-commits
https://github.com/royitaqi created https://github.com/llvm/llvm-project/pull/156803 # Usage ``` --time-to-live When using --connection, the number of milliseconds to wait for new connections at the beginning and after all clients have disconnected. Not specifying

[Lldb-commits] [lldb] [LLDB] Make internal shell the default for running LLDB lit tests. (PR #156729)

2025-09-03 Thread Aiden Grossman via lldb-commits
@@ -13,3 +13,15 @@ config.name = "lldb" config.test_source_root = os.path.dirname(__file__) config.test_exec_root = os.path.join(config.lldb_obj_root, "test") + +# We prefer the lit internal shell which provides a better user experience on +# failures and is faster unless the u

[Lldb-commits] [lldb] [lldb] Introduce ScriptedFrame affordance (PR #149622)

2025-09-03 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Med Ismail Bennani (medismailben) Changes This patch introduces a new scripting affordance in lldb: `ScriptedFrame`. This allows user to produce mock stackframes in scripted threads and scripted processes from a python script. With this ch

[Lldb-commits] [lldb] [lldb][Expression] Reject languages not supported by TypeSystems for expression evaluation (PR #156648)

2025-09-03 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes There are some languages for which the `ClangExpressionParser` currently switches the language type behind a user's back. Specifically, `C` gets turned into `C++` and `ObjC` into `ObjC++`. That's because t

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Don't complete conflicting Objective-C++ types (PR #156681)

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

[Lldb-commits] [lldb] [lldb] Introduce ScriptedFrame affordance (PR #149622)

2025-09-03 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/examples/python/templates/scripted_process.py lldb/test/API/funct

[Lldb-commits] [lldb] [lldb] Add some vector operations to the IRInterpreter (PR #155000)

2025-09-03 Thread Daniel Sanders via lldb-commits
https://github.com/dsandersllvm updated https://github.com/llvm/llvm-project/pull/155000 >From be4ddf49a230b32699df153ecc3b2b3ee62c1c22 Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Fri, 22 Aug 2025 10:54:52 -0700 Subject: [PATCH 1/7] [lldb] Add some vector operations to the IRInterpreter

[Lldb-commits] [lldb] [lldb] Correct style of error messages (PR #156774)

2025-09-03 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes The LLVM Style Guide says the following about error and warning messages [1]: > [T]o match error message styles commonly produced by other tools, > start the first sentence with a lowercase letter, a

[Lldb-commits] [lldb] [LLDB] Make internal shell the default for running LLDB lit tests. (PR #156729)

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

[Lldb-commits] [lldb] [lldb] Mark scripted frames as synthetic instead of artificial (PR #153117)

2025-09-03 Thread via lldb-commits
jimingham wrote: LGTM2 https://github.com/llvm/llvm-project/pull/153117 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][Target] Clear selected frame index after a StopInfo::PerformAction (PR #133078)

2025-09-03 Thread via lldb-commits
jimingham wrote: The only bad effect I can see just from looking at the patch is if I had selected frame 5 of a given thread, and then had run an expression. I want to make sure that when the expression is done running, we don't set the selected frame back to 0 (or whatever the most relevant

[Lldb-commits] [lldb] [lldb] Mark scripted frames as synthetic instead of artificial (PR #153117)

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

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Don't complete conflicting Objective-C++ types (PR #156681)

2025-09-03 Thread Michael Buch via lldb-commits
Michael137 wrote: /cherry-pick a862225813c251c28b085603b7d32d4b111dbc57 https://github.com/llvm/llvm-project/pull/156681 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Don't complete conflicting Objective-C++ types (PR #156681)

2025-09-03 Thread Michael Buch via lldb-commits
https://github.com/Michael137 milestoned https://github.com/llvm/llvm-project/pull/156681 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][NativePDB] Find global variables in namespaces (PR #156736)

2025-09-03 Thread Zequan Wu via lldb-commits
@@ -306,6 +309,9 @@ class SymbolFileNativePDB : public SymbolFileCommon { lldb_private::UniqueCStringMap m_func_base_names; /// method basename -> Global ID(s) lldb_private::UniqueCStringMap m_func_method_names; + + /// basename -> Global ID(s) ZequanWu

[Lldb-commits] [lldb] [lldb] Add count for errors of DWO files in statistics and combine DWO file count functions (PR #155023)

2025-09-03 Thread Ziyi Wang via lldb-commits
https://github.com/zw3917 updated https://github.com/llvm/llvm-project/pull/155023 >From d978cb5b17b7a8450226825a8fd85f2054166059 Mon Sep 17 00:00:00 2001 From: Ziyi Wang Date: Fri, 22 Aug 2025 09:17:25 -0700 Subject: [PATCH 1/7] [lldb] Add count for errors of DWO files in statistics --- lldb

[Lldb-commits] [lldb] [lldb] Add count for errors of DWO files in statistics and combine DWO file count functions (PR #155023)

2025-09-03 Thread Ziyi Wang via lldb-commits
https://github.com/zw3917 updated https://github.com/llvm/llvm-project/pull/155023 >From d978cb5b17b7a8450226825a8fd85f2054166059 Mon Sep 17 00:00:00 2001 From: Ziyi Wang Date: Fri, 22 Aug 2025 09:17:25 -0700 Subject: [PATCH 1/7] [lldb] Add count for errors of DWO files in statistics --- lldb

[Lldb-commits] [lldb] [LLDB][NativePDB] Find global variables in namespaces (PR #156736)

2025-09-03 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu edited https://github.com/llvm/llvm-project/pull/156736 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][NativePDB] Find global variables in namespaces (PR #156736)

2025-09-03 Thread Zequan Wu via lldb-commits
https://github.com/ZequanWu approved this pull request. LGTM. https://github.com/llvm/llvm-project/pull/156736 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Add count for errors of DWO files in statistics and combine DWO file count functions (PR #155023)

2025-09-03 Thread Ziyi Wang via lldb-commits
https://github.com/zw3917 edited https://github.com/llvm/llvm-project/pull/155023 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][Expression] Reject languages not supported by TypeSystems for expression evaluation (PR #156648)

2025-09-03 Thread Michael Buch via lldb-commits
@@ -44,18 +44,21 @@ Status CommandObjectExpression::CommandOptions::SetOptionValue( const int short_option = GetDefinitions()[option_idx].short_option; switch (short_option) { - case 'l': + case 'l': { language = Language::GetLanguageTypeFromString(option_arg); -

[Lldb-commits] [lldb] [lldb][Expression] Reject languages not supported by TypeSystems for expression evaluation (PR #156648)

2025-09-03 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/156648 >From 5689f9e8489c66237097891e98aba93571f8583f Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Wed, 3 Sep 2025 12:19:17 +0100 Subject: [PATCH 1/3] [lldb][Expression] Reject languages not supported by TypeS

[Lldb-commits] [lldb] [llvm] Add AArch64 support to the premerge tests (PR #155274)

2025-09-03 Thread Tom Stellard via lldb-commits
https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/155274 >From 57697a66cfdddf2028c7260f1ce61ecacc550d00 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 25 Aug 2025 17:15:36 + Subject: [PATCH 01/57] Add AArch64 support to the premerge tests --- .github/wo

[Lldb-commits] [lldb] [LLDB] Make internal shell the default for running LLDB lit tests. (PR #156729)

2025-09-03 Thread Aiden Grossman via lldb-commits
@@ -13,3 +13,15 @@ config.name = "lldb" config.test_source_root = os.path.dirname(__file__) config.test_exec_root = os.path.join(config.lldb_obj_root, "test") + +# We prefer the lit internal shell which provides a better user experience on +# failures and is faster unless the u

[Lldb-commits] [lldb] [lldb][Expression] Reject languages not supported by TypeSystems for expression evaluation (PR #156648)

2025-09-03 Thread Michael Buch via lldb-commits
Michael137 wrote: > BTW, if this patch breaks that feature w/o some test catching it, we should > add a test for these allowed keywords. This patch doesn't break said feature. It only breaks if you explicitly pass `expression --language C`, and expect it to work. If it's a C frame, then `expr

[Lldb-commits] [lldb] [lldb] Reimplement __str__ in SBStructuredDataExtensions.i (PR #156725)

2025-09-03 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) Changes Follow up to #155061 and #156721. After discussing with @medismailben, the ideal course of to have a `__str__`, however, instead of throwing an exception, the fallback behavior calls `__repr__` (`GetDescript

[Lldb-commits] [lldb] [lldb] Reimplement __str__ in SBStructuredDataExtensions.i (PR #156725)

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

[Lldb-commits] [lldb] [lldb] Reimplement __str__ in SBStructuredDataExtensions.i (PR #156725)

2025-09-03 Thread Dave Lee via lldb-commits
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/156725 Follow up to #155061 and #156721. After discussing with @medismailben, the ideal course of to have a `__str__`, however, instead of throwing an exception, the fallback behavior calls `__repr__` (`GetDescrip

[Lldb-commits] [lldb] [LLDB][NativePDB] Set IsDynmaicCXXType metadata for records (PR #155853)

2025-09-03 Thread Zequan Wu via lldb-commits
@@ -601,21 +601,26 @@ PdbAstBuilder::CreateModifierType(const ModifierRecord &modifier) { } clang::QualType PdbAstBuilder::CreateRecordType(PdbTypeSymId id, -const TagRecord &record) { +

[Lldb-commits] [lldb] [LLDB][AArch64] Make TPIDR a generic tp register (PR #154444)

2025-09-03 Thread Jacob Lalonde via lldb-commits
Jlalond wrote: @DavidSpickett Please take a second look when you get a chance https://github.com/llvm/llvm-project/pull/15 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Revert custom __str__ in SBStructuredDataExtensions.i (PR #156721)

2025-09-03 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `cross-project-tests-sie-ubuntu-dwarf5` running on `doug-worker-1b` while building `lldb` at step 6 "test-build-unified-tree-check-cross-project". Full details are available at: https://lab.llvm.org/buildbot/#/builders/163/bui

[Lldb-commits] [lldb] [lldb] Revert custom __str__ in SBStructuredDataExtensions.i (PR #156721)

2025-09-03 Thread Adrian Prantl via lldb-commits
https://github.com/adrian-prantl closed https://github.com/llvm/llvm-project/pull/156721 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 722339d - [lldb] Revert custom __str__ in SBStructuredDataExtensions.i (#156721)

2025-09-03 Thread via lldb-commits
Author: Dave Lee Date: 2025-09-03T10:51:09-07:00 New Revision: 722339dc0927545834afffd8aca9a75efd450ca9 URL: https://github.com/llvm/llvm-project/commit/722339dc0927545834afffd8aca9a75efd450ca9 DIFF: https://github.com/llvm/llvm-project/commit/722339dc0927545834afffd8aca9a75efd450ca9.diff LOG:

[Lldb-commits] [lldb] [lldb] Revert custom __str__ in SBStructuredDataExtensions.i (PR #156721)

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

[Lldb-commits] [lldb] [lldb] Revert custom __str__ in SBStructuredDataExtensions.i (PR #156721)

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

[Lldb-commits] [lldb] [lldb] Revert custom __str__ in SBStructuredDataExtensions.i (PR #156721)

2025-09-03 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/156721.diff 2 Files Affected: - (modified) lldb/bindings/interface/SBStructuredDataExtensions.i (-12) - (modified) lldb/test/API/python_api/sbstruc

[Lldb-commits] [lldb] [lldb] Revert custom __str__ in SBStructuredDataExtensions.i (PR #156721)

2025-09-03 Thread Dave Lee via lldb-commits
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/156721 None >From 3aa17b0109bf625bc73d7b4713b526f95f5f0d9c Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Wed, 3 Sep 2025 10:28:58 -0700 Subject: [PATCH] [lldb] Revert custom __str__ in SBStructuredDataExtensions.i

[Lldb-commits] [lldb] [lldb][Expression] Reject languages not supported by TypeSystems for expression evaluation (PR #156648)

2025-09-03 Thread via lldb-commits
jimingham wrote: BTW, if this patch breaks that feature w/o some test catching it, we should add a test for these allowed keywords. https://github.com/llvm/llvm-project/pull/156648 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://list

[Lldb-commits] [lldb] [lldb][Expression] Reject languages not supported by TypeSystems for expression evaluation (PR #156648)

2025-09-03 Thread via lldb-commits
jimingham wrote: For C in particular we have a "half-way between" mode where we allowed some keywords (like `class`) even though we still used C++ reference semantics. So for instance: ``` (lldb) run Process 79429 launched: '/tmp/foo' (arm64) Process 79429 stopped * thread #1, queue = 'com.a

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

2025-09-03 Thread via lldb-commits
jimingham wrote: But also note that if the synthetic child creation fails, then we will silently fall back to handing out the "real" children. So this one looks more like synthetic child generation is failing for some reason. https://github.com/llvm/llvm-project/pull/156033 __

[Lldb-commits] [lldb] [lldb] Moving MCPTransport into its own file. (PR #156712)

2025-09-03 Thread John Harrison via lldb-commits
https://github.com/ashgti updated https://github.com/llvm/llvm-project/pull/156712 >From de461689fdfc19e3c4bca841fb693bef59c66253 Mon Sep 17 00:00:00 2001 From: John Harrison Date: Wed, 3 Sep 2025 09:18:45 -0700 Subject: [PATCH 1/2] [lldb] Moving MCPTransport into its own file. Moving `lldb_pr

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

2025-09-03 Thread via lldb-commits
jimingham wrote: Whether to prefer synthetic values for a ValueObject is controlled by the general setting `target.enable-synthetic-value` which is true by default. You can also control this on a particular ValueObject with `ValueObject.SetPreferSyntheticValue` which should start out primed b

[Lldb-commits] [lldb] [lldb] Fix race condition in Process::WaitForProcessToStop() (PR #144919)

2025-09-03 Thread via lldb-commits
jimingham wrote: RunThreadPlan has to handle two different use cases. In then normal case where -i is 1 and -u is 0, the expression evaluation always pretends that nothing happened in the target. The stop-reason is set back to whatever it was before expression evaluation and no events are ge

[Lldb-commits] [lldb] [lldb][RISCV][test] make atomic region stepping test more robust (PR #156506)

2025-09-03 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `cross-project-tests-sie-ubuntu-dwarf5` running on `doug-worker-1b` while building `lldb` at step 6 "test-build-unified-tree-check-cross-project". Full details are available at: https://lab.llvm.org/buildbot/#/builders/163/bui

[Lldb-commits] [lldb] [lldb][RISCV][test] make atomic region stepping test more robust (PR #156506)

2025-09-03 Thread via lldb-commits
https://github.com/dlav-sc closed https://github.com/llvm/llvm-project/pull/156506 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 3b3fc70 - [lldb][RISCV][test] make atomic region stepping test more robust (#156506)

2025-09-03 Thread via lldb-commits
Author: dlav-sc Date: 2025-09-03T19:22:55+03:00 New Revision: 3b3fc701d8f83d4ca30ee1c818fb7687336ac178 URL: https://github.com/llvm/llvm-project/commit/3b3fc701d8f83d4ca30ee1c818fb7687336ac178 DIFF: https://github.com/llvm/llvm-project/commit/3b3fc701d8f83d4ca30ee1c818fb7687336ac178.diff LOG:

[Lldb-commits] [lldb] [lldb][RISCV][test] make atomic region stepping test more robust (PR #156506)

2025-09-03 Thread via lldb-commits
https://github.com/dlav-sc auto_merge_enabled https://github.com/llvm/llvm-project/pull/156506 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][Expression] Reject languages not supported by TypeSystems for expression evaluation (PR #156648)

2025-09-03 Thread Pavel Labath via lldb-commits
https://github.com/labath approved this pull request. I think this makes sense. Does this also mean we can delete some language auto-upgrading code somewhere? https://github.com/llvm/llvm-project/pull/156648 ___ lldb-commits mailing list lldb-commits@

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

2025-09-03 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-platform-windows Author: Charles Zablit (charles-zablit) Changes This is a relanding of https://github.com/llvm/llvm-project/pull/149493. The tests were failing because we were interpreting a proper file descriptor as a console file descriptor. This

[Lldb-commits] [lldb] [lldb][windows] use OutputDebugStringA instead of c to log events (PR #156474)

2025-09-03 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Charles Zablit (charles-zablit) Changes In https://github.com/llvm/llvm-project/pull/150213 we made use of the Event Viewer on Windows (equivalent of system logging on Darwin) rather than piping to the standard output. This turned out to b

[Lldb-commits] [lldb] [lldb][windows] use OutputDebugStringA instead of c to log events (PR #156474)

2025-09-03 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-platform-windows Author: Charles Zablit (charles-zablit) Changes In https://github.com/llvm/llvm-project/pull/150213 we made use of the Event Viewer on Windows (equivalent of system logging on Darwin) rather than piping to the standard output. This tur

[Lldb-commits] [lldb] [WIP][lldb] Use forward decls with redeclared definitions instead of minimal import for records (PR #95100)

2025-09-03 Thread David Blaikie via lldb-commits
dwblaikie wrote: Any word on this? Dead/can't be done? Lowered priority/might revisit later? Any conclusions/lessons that'd be handy to record for posterity? https://github.com/llvm/llvm-project/pull/95100 ___ lldb-commits mailing list lldb-commits@l

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Don't complete conflicting Objective-C++ types (PR #156681)

2025-09-03 Thread Pavel Labath via lldb-commits
https://github.com/labath approved this pull request. https://github.com/llvm/llvm-project/pull/156681 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Add more command option mnemonics (PR #155705)

2025-09-03 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/155705 >From 6427b12a42c2064d57bc211443a5aa1e59fa81d9 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 3 Sep 2025 08:25:14 -0700 Subject: [PATCH] Add a bunch of mnemonics to the command options now that

[Lldb-commits] [lldb] [lldb] Add more command option mnemonics (PR #155705)

2025-09-03 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere updated https://github.com/llvm/llvm-project/pull/155705 >From f56a1a836e2fbe865d8e143d021389c99ec341e6 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 27 Aug 2025 14:25:29 -0700 Subject: [PATCH] [lldb] Add more command option mnemonics Add a bunch o

[Lldb-commits] [lldb] [lldb][DataFormatter] Allow std::string formatters to match against custom allocators (PR #156050)

2025-09-03 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/156050 >From 35999d8d509864795dd36565d12ddea425a98c22 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Fri, 29 Aug 2025 16:57:35 +0100 Subject: [PATCH 1/3] [lldb][DataFormatter] Allow std::string formatters to mat

[Lldb-commits] [lldb] [LLDB][NativePDB] Set IsDynmaicCXXType metadata for records (PR #155853)

2025-09-03 Thread via lldb-commits
Nerixyz wrote: > dumps dynamic type info, but I'm not sure if it's actually used anywhere. This seems to be unused. clangd says it's only used in [`DumpTypeDescription`](https://github.com/llvm/llvm-project/blob/9d7449a82b83ee589b8af8d6f86525727788b3b9/lldb/source/Plugins/TypeSystem/Clang/TypeS

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

2025-09-03 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/122265 >From a9e13ad8d2a7a95d431dddcced611bea1e83b99a Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Thu, 9 Jan 2025 10:01:31 + Subject: [PATCH 1/9] [clang][DebugInfo] Expand detection of structured bindings

[Lldb-commits] [lldb] [lldb][RISCV][test] make atomic region stepping test more robust (PR #156506)

2025-09-03 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett approved this pull request. https://github.com/llvm/llvm-project/pull/156506 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][NativePDB] Set IsDynmaicCXXType metadata for records (PR #155853)

2025-09-03 Thread via lldb-commits
@@ -601,21 +601,26 @@ PdbAstBuilder::CreateModifierType(const ModifierRecord &modifier) { } clang::QualType PdbAstBuilder::CreateRecordType(PdbTypeSymId id, -const TagRecord &record) { +

[Lldb-commits] [lldb] [LLDB][NativePDB] Set IsDynmaicCXXType metadata for records (PR #155853)

2025-09-03 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/155853 >From 8505efc3d41de3b12a4ae63a70d50055a02f06fd Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Thu, 28 Aug 2025 16:33:57 +0200 Subject: [PATCH 1/8] [LLDB][NativePDB] Set IsDynmaicCXXType metadata for records ---

[Lldb-commits] [lldb] [LLDB][NativePDB] Set IsDynmaicCXXType metadata for records (PR #155853)

2025-09-03 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/155853 >From 8505efc3d41de3b12a4ae63a70d50055a02f06fd Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Thu, 28 Aug 2025 16:33:57 +0200 Subject: [PATCH 1/7] [LLDB][NativePDB] Set IsDynmaicCXXType metadata for records ---

[Lldb-commits] [lldb] [lldb][Expression] Reject languages not supported by TypeSystems for expression evaluation (PR #156648)

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

[Lldb-commits] [lldb] [lldb][Expression] Reject languages not supported by TypeSystems for expression evaluation (PR #156648)

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

[Lldb-commits] [lldb] [lldb][ExpressionParser][NFC] Clean up expression language picking logic (PR #156642)

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

[Lldb-commits] [lldb] 25a3045 - [lldb][ExpressionParser][NFC] Clean up expression language picking logic (#156642)

2025-09-03 Thread via lldb-commits
Author: Michael Buch Date: 2025-09-03T15:52:01+01:00 New Revision: 25a304559a7aba8ea7035dd68af2d9078a1a2826 URL: https://github.com/llvm/llvm-project/commit/25a304559a7aba8ea7035dd68af2d9078a1a2826 DIFF: https://github.com/llvm/llvm-project/commit/25a304559a7aba8ea7035dd68af2d9078a1a2826.diff

[Lldb-commits] [lldb] [lldb][Expression] Reject languages not supported by TypeSystems for expression evaluation (PR #156648)

2025-09-03 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan approved this pull request. I was initially hesitant to make this a hard error, but the fact that we already have a list of supported languages and that C is not in there makes me more confident in erroring here. Would be curious to hear other's thoughts. http

[Lldb-commits] [lldb] [lldb][ExpressionParser][NFC] Clean up expression language picking logic (PR #156642)

2025-09-03 Thread Michael Buch via lldb-commits
Michael137 wrote: > I think this is fine, but that FIXME is curious. We don't support running in > non-C++ modes, so switching on `frame_lang` would only get us a more precise > C++ standard version, but do we use that? Yea it was me who added the FIXME back when I was refactoring some of this

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

2025-09-03 Thread Michael Buch via lldb-commits
Michael137 wrote: > I'm still happy with this. I did not notice it was not merged Yea I was just clearing out my open PRs and noticed this was still open. There is still that clang-tidy failure I haven't figured out. Might need a more targeted heuristic for expressions coming from binding decl

[Lldb-commits] [lldb] [lldb][ExpressionParser][NFC] Clean up expression language picking logic (PR #156642)

2025-09-03 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan approved this pull request. I think this is fine, but that FIXME is curious. We don't support running in non-C++ modes, so switching on `frame_lang` would only get us a more precise C++ standard version, but do we use that? https://github.com/llvm/llvm-project

[Lldb-commits] [lldb] [lldb][RISCV][test] make atomic region stepping test more robust (PR #156506)

2025-09-03 Thread via lldb-commits
dlav-sc wrote: > So please extend the sentence "This patch rewrites the test to avoid this > disadvantage." to state that you do this by avoiding checking for any > compiler generated locations. I've updated the message > Please change that to include the operands too and/or add an inline com

[Lldb-commits] [lldb] [lldb][RISCV][test] make atomic region stepping test more robust (PR #156506)

2025-09-03 Thread via lldb-commits
https://github.com/dlav-sc updated https://github.com/llvm/llvm-project/pull/156506 >From d9ede8035d1786a62375295fdb855fb2a08f0c72 Mon Sep 17 00:00:00 2001 From: Daniil Avdeev Date: Wed, 16 Jul 2025 14:52:27 + Subject: [PATCH 1/3] [lldb][RISCV][test] make atomic region stepping test more r

[Lldb-commits] [lldb] [lldb][Instrumentation] Set selected frame to outside sanitizer libraries (PR #133079)

2025-09-03 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes When hitting a sanitizer breakpoint, LLDB currently displays the frame in the sanitizer dylib (which we usually don't have debug-info for), which isn't very helpful to the user. A more helpful frame to dis

[Lldb-commits] [lldb] [lldb][Instrumentation] Set selected frame to outside sanitizer libraries (PR #133079)

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

[Lldb-commits] [lldb] [lldb][Instrumentation] Set selected frame to outside sanitizer libraries (PR #133079)

2025-09-03 Thread Michael Buch via lldb-commits
https://github.com/Michael137 ready_for_review https://github.com/llvm/llvm-project/pull/133079 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][Instrumentation] Set selected frame to outside sanitizer libraries (PR #133079)

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

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

2025-09-03 Thread Corentin Jabot via lldb-commits
cor3ntin wrote: I'm still happy with this. I did not notice it was not merged 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][RISCV][test] make atomic region stepping test more robust (PR #156506)

2025-09-03 Thread via lldb-commits
https://github.com/dlav-sc edited https://github.com/llvm/llvm-project/pull/156506 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2025-09-03 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan updated https://github.com/llvm/llvm-project/pull/153585 >From ce9c2cc6748c22ce4b0f5178b8f5e877d430 Mon Sep 17 00:00:00 2001 From: Felipe de Azevedo Piovezan Date: Wed, 13 Aug 2025 18:38:23 -0700 Subject: [PATCH 1/8] [lldb] Call FixUpPointer in WritePointer

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Adjust language type for conflicting Objective-C++ forward declarations (PR #130768)

2025-09-03 Thread Michael Buch via lldb-commits
Michael137 wrote: Closing in favour of https://github.com/llvm/llvm-project/pull/156681 https://github.com/llvm/llvm-project/pull/130768 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-comm

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Adjust language type for conflicting Objective-C++ forward declarations (PR #130768)

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

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Don't complete conflicting Objective-C++ types (PR #156681)

2025-09-03 Thread Michael Buch via lldb-commits
Michael137 wrote: Planning to cherry-pick this to `release/21.x` if this lands https://github.com/llvm/llvm-project/pull/156681 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Don't complete conflicting Objective-C++ types (PR #156681)

2025-09-03 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes This upstreams https://github.com/swiftlang/llvm-project/pull/10313. If we detect a situation where a forward declaration is C++ and the definition DIE is Objective-C, then just don't try to complete the t

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Don't complete conflicting Objective-C++ types (PR #156681)

2025-09-03 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/156681 This upstreams https://github.com/swiftlang/llvm-project/pull/10313. If we detect a situation where a forward declaration is C++ and the definition DIE is Objective-C, then just don't try to complete the typ

[Lldb-commits] [lldb] [lldb][RISCV][test] make atomic region stepping test more robust (PR #156506)

2025-09-03 Thread via lldb-commits
dlav-sc wrote: > And btw does this mean you're running RISC-V tests semi-regularly? Yeah :) We have a close-source fork with ci, where RISCV lldb tests run after each commit. https://github.com/llvm/llvm-project/pull/156506 ___ lldb-commits mailing l

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

2025-09-03 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett approved this pull request. LGTM. @jasonmolenda anything to add? https://github.com/llvm/llvm-project/pull/153585 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinf

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

2025-09-03 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-stripping/TestArmPointerMetad

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

2025-09-03 Thread Felipe de Azevedo Piovezan via lldb-commits
felipepiovezan wrote: I've simplified the test as suggested. Also going to take your offer of testing/porting this on Linux :) It should hopefully be a simple platform check inside python followed by a json update like what we do for the triple/uuid. https://github.com/llvm/llvm-project/pull/1

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

2025-09-03 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan updated https://github.com/llvm/llvm-project/pull/153585 >From ce9c2cc6748c22ce4b0f5178b8f5e877d430 Mon Sep 17 00:00:00 2001 From: Felipe de Azevedo Piovezan Date: Wed, 13 Aug 2025 18:38:23 -0700 Subject: [PATCH 1/7] [lldb] Call FixUpPointer in WritePointer

[Lldb-commits] [lldb] [lldb][RISCV][test] make atomic region stepping test more robust (PR #156506)

2025-09-03 Thread via lldb-commits
@@ -26,19 +26,26 @@ def do_sequence_test(self, filename, bkpt_name): substrs=["stopped", "stop reason = instruction step into"], ) -pc = cur_thread.GetFrameAtIndex(0).GetPC() +# Get the instruction we stopped at +pc = cur_thread.GetF

[Lldb-commits] [lldb] [WIP] [lldb][TypeSystemClang] Create clang::SourceLocation from DWARF and attach to AST (PR #127829)

2025-09-03 Thread Michael Buch via lldb-commits
https://github.com/Michael137 converted_to_draft https://github.com/llvm/llvm-project/pull/127829 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [WIP][lldb][DWARFASTParserClang] Eagerly search definitions for Objective-C classes (PR #119860)

2025-09-03 Thread Michael Buch via lldb-commits
Michael137 wrote: Not needed, for now.. https://github.com/llvm/llvm-project/pull/119860 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [WIP][lldb][DWARFASTParserClang] Eagerly search definitions for Objective-C classes (PR #119860)

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

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [WIP][lldb] Alternative implementation of more reliable function call infrastructure (PR #115245)

2025-09-03 Thread Michael Buch via lldb-commits
Michael137 wrote: Landed in https://github.com/llvm/llvm-project/pull/148877 https://github.com/llvm/llvm-project/pull/115245 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [WIP][lldb] Alternative implementation of more reliable function call infrastructure (PR #115245)

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

[Lldb-commits] [clang] [lldb] [llvm] [WIP][lldb][Expression] More reliable function call resolution (PR #114529)

2025-09-03 Thread Michael Buch via lldb-commits
Michael137 wrote: Landed in https://github.com/llvm/llvm-project/pull/148877 https://github.com/llvm/llvm-project/pull/114529 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [lldb] [llvm] [WIP][lldb][Expression] More reliable function call resolution (PR #114529)

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

[Lldb-commits] [clang] [lldb] [clang][RecordLayoutBuilder] Be stricter about inferring packed-ness in ExternalLayouts (PR #97443)

2025-09-03 Thread Michael Buch via lldb-commits
Michael137 wrote: @efriedma-quic @rjmccall ping Remembered about this while clearing out open PRs https://github.com/llvm/llvm-project/pull/97443 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo

  1   2   >