[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DebugNamesDWARFIndex::ProcessEntry to IterationAction (PR #152025)

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

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DebugNamesDWARFIndex::ProcessEntry to IterationAction (PR #152025)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/152025 Continuation of https://github.com/llvm/llvm-project/pull/151489 >From 6b4ab4dd116522c0f25c80d98b5da9e423d72f4a Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 4 Aug 2025 21:22:15 +0100 Subject: [PATC

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex DIERefCallback to IterationAction (PR #152001)

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

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex DIERefCallback to IterationAction (PR #152001)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/152001 Continuation of https://github.com/llvm/llvm-project/pull/151489 >From a7d97082b2cc5715ccd227920445a4dfbe45dd1e Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 4 Aug 2025 17:47:54 +0100 Subject: [PATC

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

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

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-08-04 Thread Michael Buch via lldb-commits
@@ -92,6 +92,10 @@ void TrackingOutputBuffer::finalizeStart() { if (NameInfo.BasenameRange.second == 0) NameInfo.BasenameRange.second = getCurrentPosition(); + if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first) +NameInfo.TemplateArgumentsRange = {Na

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex GetTypes APIs to IterationAction (PR #151992)

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

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-08-04 Thread Michael Buch via lldb-commits
@@ -92,6 +92,10 @@ void TrackingOutputBuffer::finalizeStart() { if (NameInfo.BasenameRange.second == 0) NameInfo.BasenameRange.second = getCurrentPosition(); + if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first) +NameInfo.TemplateArgumentsRange = {Na

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex GetTypes APIs to IterationAction (PR #151992)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/151992 >From 52184181acaff1c210b4edab9564c14da98d797c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 08:55:13 +0100 Subject: [PATCH 1/2] [lldb][DWARFIndex] Adapt DWARFIndex GetTypes APIs to Itera

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex GetTypes APIs to IterationAction (PR #151992)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/151992 Continuation of https://github.com/llvm/llvm-project/pull/151489 >From 52184181acaff1c210b4edab9564c14da98d797c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 08:55:13 +0100 Subject: [PATC

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex ObjC APIs to IterationAction (PR #151839)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 closed https://github.com/llvm/llvm-project/pull/151839 ___ 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] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From b8f31ec8f556169a45370938cf28bd8582134a5c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 11:38:07 +0100 Subject: [PATCH 1/4] [clang][Attr] Remove 'literal label' form of AsmLabelAttr

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From b8f31ec8f556169a45370938cf28bd8582134a5c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 11:38:07 +0100 Subject: [PATCH 1/4] [clang][Attr] Remove 'literal label' form of AsmLabelAttr

[Lldb-commits] [clang] [lldb] [clang][Attr] Remove 'literal label' form of AsmLabelAttr (PR #151858)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 closed https://github.com/llvm/llvm-project/pull/151858 ___ 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] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From b8f31ec8f556169a45370938cf28bd8582134a5c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 11:38:07 +0100 Subject: [PATCH 1/4] [clang][Attr] Remove 'literal label' form of AsmLabelAttr

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From b8f31ec8f556169a45370938cf28bd8582134a5c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 11:38:07 +0100 Subject: [PATCH 1/4] [clang][Attr] Remove 'literal label' form of AsmLabelAttr

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
Michael137 wrote: > Clang bits LGTM Sorry for the back and forth but I had some of the Clang changes not split into separate commits. Not sure if you looked at the entire diff or just the Clang commits, but I split out one more commit just now. https://github.com/llvm/llvm-project/pull/149827

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From b8f31ec8f556169a45370938cf28bd8582134a5c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 11:38:07 +0100 Subject: [PATCH 1/4] [clang][Attr] Remove 'literal label' form of AsmLabelAttr

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/149827 ___ 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] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/149827 ___ 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] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/149827 ___ 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] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/149827 ___ 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] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
Michael137 wrote: CC @AaronBallman for the Clang side of this https://github.com/llvm/llvm-project/pull/149827 ___ 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] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/149827 ___ 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] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/149827 ___ 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] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/149827 ___ 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] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
Michael137 wrote: This should be reviewable now. I split the Clang and demangler changes into separate commits. Ended up being a bit more involved that I had hoped but let me know what you think (particularly with the Clang mangler interaction). Also lacks some LLDB tests, which I'll add shor

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/149827 ___ 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] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 ready_for_review https://github.com/llvm/llvm-project/pull/149827 ___ 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] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/149827 ___ 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] [DRAFT] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From b8f31ec8f556169a45370938cf28bd8582134a5c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 11:38:07 +0100 Subject: [PATCH 1/3] [clang][Attr] Remove 'literal label' form of AsmLabelAttr

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-08-04 Thread Michael Buch via lldb-commits
@@ -92,6 +92,10 @@ void TrackingOutputBuffer::finalizeStart() { if (NameInfo.BasenameRange.second == 0) NameInfo.BasenameRange.second = getCurrentPosition(); + if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first) +NameInfo.TemplateArgumentsRange = {Na

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-08-04 Thread Michael Buch via lldb-commits
@@ -92,6 +92,10 @@ void TrackingOutputBuffer::finalizeStart() { if (NameInfo.BasenameRange.second == 0) NameInfo.BasenameRange.second = getCurrentPosition(); + if (NameInfo.BasenameRange.second != NameInfo.ArgumentsRange.first) Michael137 wrote: Lets a

[Lldb-commits] [lldb] [lldb] Fix TLS support on Darwin platforms (PR #151601)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. Based on my reading of the relevant dyld change this makes sense, thanks! This does mean we won't handle the old TLS format correctly though right? https://github.com/llvm/llvm-project/pull/151601

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [DRAFT] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From b8f31ec8f556169a45370938cf28bd8582134a5c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 11:38:07 +0100 Subject: [PATCH 1/3] [clang][Attr] Remove 'literal label' form of AsmLabelAttr

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

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

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

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

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-08-04 Thread Michael Buch via lldb-commits
@@ -816,10 +816,12 @@ Type::GetTypeScopeAndBasename(llvm::StringRef name) { case ':': if (prev_is_colon && template_depth == 0) { llvm::StringRef scope_name = name.slice(name_begin, pos.index() - 1); -// The itanium demangler uses this string to repres

[Lldb-commits] [clang] [lldb] [clang][Attr] Remove 'literal label' form of AsmLabelAttr (PR #151858)

2025-08-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/151858 ___ 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] [DRAFT] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-03 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From b8f31ec8f556169a45370938cf28bd8582134a5c Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 11:38:07 +0100 Subject: [PATCH 1/3] [clang][Attr] Remove 'literal label' form of AsmLabelAttr

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [DRAFT] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-03 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From a61eb43dd47463a817e2899ec81bab23d5bdc9bc Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 4 Aug 2025 07:49:19 +0100 Subject: [PATCH 1/3] Clang --- clang/include/clang/Basic/Attr.td | 17

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [DRAFT] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-03 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From 809925d0fcb99f919b3a443a9b5fb22e4173a504 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sun, 3 Aug 2025 11:38:07 +0100 Subject: [PATCH 1/3] [clang][Attr] Remove 'literal label' form of AsmLabelAttr

[Lldb-commits] [clang] [lldb] [clang][Attr] Remove 'literal label' form of AsmLabelAttr (PR #151858)

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

[Lldb-commits] [clang] [lldb] [clang][Attr] Remove 'literal label' form of AsmLabelAttr (PR #151858)

2025-08-03 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/151858 This was added purely for the needs of LLDB. However, starting with https://github.com/llvm/llvm-project/pull/151355 and https://github.com/llvm/llvm-project/pull/148877 we no longer create literal AsmLabel

[Lldb-commits] [lldb] 779868d - [lldb][test] Skip tail_call_frames tests on older Clang versions

2025-08-02 Thread Michael Buch via lldb-commits
Author: Michael Buch Date: 2025-08-03T00:01:19+01:00 New Revision: 779868de6975f6fd0ea17bb9a8e929037d3752d7 URL: https://github.com/llvm/llvm-project/commit/779868de6975f6fd0ea17bb9a8e929037d3752d7 DIFF: https://github.com/llvm/llvm-project/commit/779868de6975f6fd0ea17bb9a8e929037d3752d7.diff

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex ObjC APIs to IterationAction (PR #151839)

2025-08-02 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/151839 >From 5148fc839b2b41b8586533cc4ea7d34b2ec6bf9a Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Thu, 31 Jul 2025 14:50:59 +0100 Subject: [PATCH] [lldb][DWARFIndex] Adapt DWARFIndex ObjC APIs to IterationAct

[Lldb-commits] [lldb] [lldb][DWARFIndex] Adapt DWARFIndex ObjC APIs to IterationAction (PR #151839)

2025-08-02 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/151839 Continuation of https://github.com/llvm/llvm-project/pull/151489 >From b61aac49ae2bf53c278e874c943f8d623efd3944 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Thu, 31 Jul 2025 14:50:59 +0100 Subject: [PAT

[Lldb-commits] [lldb] [lldb][DWARFIndex][NFC] Change GetNamespace/GetGlobalVariables APIs to use IterationAction (PR #151668)

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

[Lldb-commits] [lldb] [lldb][DWARFIndex][NFC] Change GetNamespace/GetGlobalVariables APIs to use IterationAction (PR #151668)

2025-08-02 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/151668 >From 6fa2b6e3acaeffd5fd55f46eded372944ba2c328 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Thu, 31 Jul 2025 14:50:59 +0100 Subject: [PATCH 1/4] Namespaces and global variables to IterationAction --- .

[Lldb-commits] [lldb] [lldb][DWARFIndex][NFC] Change GetNamespace/GetGlobalVariables APIs to use IterationAction (PR #151668)

2025-08-02 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/151668 >From 6fa2b6e3acaeffd5fd55f46eded372944ba2c328 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Thu, 31 Jul 2025 14:50:59 +0100 Subject: [PATCH 1/3] Namespaces and global variables to IterationAction --- .

[Lldb-commits] [lldb] [lldb][darwin] force BuiltinHeadersInSystemModules to be always false (PR #151535)

2025-08-02 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. https://github.com/llvm/llvm-project/pull/151535 ___ 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] [DRAFT] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-01 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From 9ec9eefb23b0676bcb89c195d96e5a2e1d6c615f Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Fri, 1 Aug 2025 11:04:47 +0100 Subject: [PATCH] Structors init --- clang/include/clang/Basic/Attr.td

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [DRAFT] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-01 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From 499aa52ad1e2ffbbccf63b4a037597f94adad97f Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Fri, 1 Aug 2025 11:04:47 +0100 Subject: [PATCH] Structors init --- clang/include/clang/Basic/Attr.td

[Lldb-commits] [lldb] ebe6eba - [lldb][test] Un-XFAIL tail_call_frames tests on Linux arm/arm64

2025-08-01 Thread Michael Buch via lldb-commits
Author: Michael Buch Date: 2025-08-01T11:19:53+01:00 New Revision: ebe6eba62580592af7065a36b22d929c15291e9a URL: https://github.com/llvm/llvm-project/commit/ebe6eba62580592af7065a36b22d929c15291e9a DIFF: https://github.com/llvm/llvm-project/commit/ebe6eba62580592af7065a36b22d929c15291e9a.diff

[Lldb-commits] [clang] [libcxxabi] [lldb] [llvm] [DRAFT] [lldb][Expression] Add structor variant to LLDB's function call labels (PR #149827)

2025-08-01 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/149827 >From 3f144195543f7b256242b126d3d803954ef62f2f Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Fri, 1 Aug 2025 11:04:47 +0100 Subject: [PATCH] Structors init --- clang/include/clang/Basic/Attr.td

[Lldb-commits] [lldb] 96d1178 - [lldb][test] Fix expected mangling for AsmLabel_CtorDtor test on Windows (again)

2025-08-01 Thread Michael Buch via lldb-commits
Author: Michael Buch Date: 2025-08-01T09:22:40+01:00 New Revision: 96d117859c1cc3fb81897d3d72f7c4692b7ee930 URL: https://github.com/llvm/llvm-project/commit/96d117859c1cc3fb81897d3d72f7c4692b7ee930 DIFF: https://github.com/llvm/llvm-project/commit/96d117859c1cc3fb81897d3d72f7c4692b7ee930.diff

[Lldb-commits] [lldb] [lldb][DWARFIndex][NFC] Change GetNamespace/GetGlobalVariables APIs to use IterationAction (PR #151668)

2025-08-01 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/151668 >From 6fa2b6e3acaeffd5fd55f46eded372944ba2c328 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Thu, 31 Jul 2025 14:50:59 +0100 Subject: [PATCH 1/2] Namespaces and global variables to IterationAction --- .

[Lldb-commits] [lldb] [lldb][DWARFIndex][NFC] Change GetNamespace/GetGlobalVariables APIs to use IterationAction (PR #151668)

2025-08-01 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/151668 Continuation from https://github.com/llvm/llvm-project/pull/151489 >From 6fa2b6e3acaeffd5fd55f46eded372944ba2c328 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Thu, 31 Jul 2025 14:50:59 +0100 Subject: [P

[Lldb-commits] [lldb] [lldb][DWARFIndex][NFC] Change GetFunctions return type to IterationAction (PR #151489)

2025-07-31 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/151489 The ultimate goal is to replace the return types of all the `DWARFIndex` callbacks to `IterationAction`. To reduce the blast radius and do this incrementally I'm doing this for `GetFunctions` only here. I ad

[Lldb-commits] [lldb] c31cb8b - [lldb][docs] Fix typo in frame-format docs

2025-07-31 Thread Michael Buch via lldb-commits
Author: Michael Buch Date: 2025-07-31T09:00:40+01:00 New Revision: c31cb8b9b88d824d8c7639dd7303cd1aa7674960 URL: https://github.com/llvm/llvm-project/commit/c31cb8b9b88d824d8c7639dd7303cd1aa7674960 DIFF: https://github.com/llvm/llvm-project/commit/c31cb8b9b88d824d8c7639dd7303cd1aa7674960.diff

[Lldb-commits] [lldb] [lldb][test][NFC] Add LLDB test for UBSan trap frame recognizer (PR #151231)

2025-07-31 Thread Michael Buch via lldb-commits
Michael137 wrote: > Apparently, these changes break > [lldb-x86_64-win](https://lab.llvm.org/buildbot/#/builders/211) buildbot with > the following error: > > ``` > C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\test\Shell\Recognizer\ubsan_add_overflow.test:7:10: > error: CHECK: expe

[Lldb-commits] [lldb] 21bf2fa - [lldb][test] Skip Recognizer/ubsan_add_overflow.test on Windows

2025-07-31 Thread Michael Buch via lldb-commits
Author: Michael Buch Date: 2025-07-31T08:58:03+01:00 New Revision: 21bf2fa77fbf19d0a02ced63e4caa37a8c65fb07 URL: https://github.com/llvm/llvm-project/commit/21bf2fa77fbf19d0a02ced63e4caa37a8c65fb07 DIFF: https://github.com/llvm/llvm-project/commit/21bf2fa77fbf19d0a02ced63e4caa37a8c65fb07.diff

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-31 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. my comments have been addressed LGTM, if Pavel has no other concerns https://github.com/llvm/llvm-project/pull/149876 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.ll

[Lldb-commits] [lldb] [lldb][TypeSystemClang] Make AsmLabel parameter a llvm::StringRef (PR #151355)

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

[Lldb-commits] [lldb] [windows][lldb] implement system logging on Windows (PR #150213)

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

[Lldb-commits] [lldb] [lldb][TypeSystemClang] Make AsmLabel parameter a llvm::StringRef (PR #151355)

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

[Lldb-commits] [lldb] [lldb][TypeSystemClang] Make AsmLabel parameter a std::string (PR #151355)

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

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-07-30 Thread Michael Buch via lldb-commits
https://github.com/Michael137 commented: Am I missing something or is `NameQualifiersRange` not being set/used in this patch? https://github.com/llvm/llvm-project/pull/150999 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

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

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -59,6 +73,18 @@ struct DemangledNameInfo { /// \endcode std::pair QualifiersRange; + /// Indicates the [start, end) of the function's name qualifiers. This is a + /// catch-all range for anything in between the basename and the arguments, + /// that is not tracked by

[Lldb-commits] [lldb] [lldb] Support DW_OP_WASM_location in DWARFExpression (PR #151010)

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

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -2158,6 +2160,21 @@ FunctionDecl *TypeSystemClang::CreateFunctionDeclaration( func_decl->setConstexprKind(isConstexprSpecified ? ConstexprSpecKind::Constexpr : ConstexprSpecKind::Unspecified); + + // Atta

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

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

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

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

[Lldb-commits] [lldb] [lldb][TypeSystemClang] Make AsmLabel parameter a std::optional (PR #151355)

2025-07-30 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/151355 Split out from https://github.com/llvm/llvm-project/pull/148877 This patch prepares `TypeSystemClang` APIs to take `AsmLabel`s which concatenated strings (hence `std::string`) instead of a plain `const char*

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -328,6 +329,21 @@ class SymbolFile : public PluginInterface { GetMangledNamesForFunction(const std::string &scope_qualified_name, std::vector &mangled_names); + /// Resolves the function corresponding to the specified LLDB function + /// cal

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -26,3 +30,74 @@ Expression::Expression(ExecutionContextScope &exe_scope) m_jit_end_addr(LLDB_INVALID_ADDRESS) { assert(m_target_wp.lock()); } + +/// Returns the components of the specified function call label. +/// +/// The format of \c label is described in \c Funct

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -771,6 +774,81 @@ class LoadAddressResolver { lldb::addr_t m_best_internal_load_address = LLDB_INVALID_ADDRESS; }; +/// Find a module by LLDB-specific unique identifier. +/// +/// \param[in] uid The UID of the module assigned to it on construction. +/// +/// \returns Modu

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -771,6 +774,81 @@ class LoadAddressResolver { lldb::addr_t m_best_internal_load_address = LLDB_INVALID_ADDRESS; }; +/// Find a module by LLDB-specific unique identifier. +/// +/// \param[in] uid The UID of the module assigned to it on construction. +/// +/// \returns Modu

[Lldb-commits] [lldb] [lldb] Support DW_OP_WASM_location in DWARFExpression (PR #151010)

2025-07-30 Thread Michael Buch via lldb-commits
https://github.com/Michael137 commented: SGTM Modulo the comment in `GetVendorDWARFOpcodeSize` https://github.com/llvm/llvm-project/pull/151010 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/l

[Lldb-commits] [lldb] [lldb] Support DW_OP_WASM_location in DWARFExpression (PR #151010)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -0,0 +1,91 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apac

[Lldb-commits] [lldb] [lldb] Support DW_OP_WASM_location in DWARFExpression (PR #151010)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -0,0 +1,91 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apac

[Lldb-commits] [lldb] [lldb] Support DW_OP_WASM_location in DWARFExpression (PR #151010)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -0,0 +1,91 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apac

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-30 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/148877 >From 382395408c4b9a38206e984328ab472c25e7c55f Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Fri, 15 Nov 2024 01:59:36 + Subject: [PATCH 01/19] [lldb][Expression] Encode Module and DIE UIDs into func

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

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

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -771,6 +774,81 @@ class LoadAddressResolver { lldb::addr_t m_best_internal_load_address = LLDB_INVALID_ADDRESS; }; +/// Find a module by LLDB-specific unique identifier. +/// +/// \param[in] uid The UID of the module assigned to it on construction. +/// +/// \returns Modu

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -259,7 +259,9 @@ class InterpreterStackFrame { break; case Value::FunctionVal: if (const Function *constant_func = dyn_cast(constant)) { -lldb_private::ConstString name(constant_func->getName()); +lldb_private::ConstString name( +l

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -259,7 +259,9 @@ class InterpreterStackFrame { break; case Value::FunctionVal: if (const Function *constant_func = dyn_cast(constant)) { -lldb_private::ConstString name(constant_func->getName()); +lldb_private::ConstString name( +l

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-30 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/148877 >From 382395408c4b9a38206e984328ab472c25e7c55f Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Fri, 15 Nov 2024 01:59:36 + Subject: [PATCH 01/18] [lldb][Expression] Encode Module and DIE UIDs into func

[Lldb-commits] [lldb] [lldb][Expression] Encode Module and DIE UIDs into function AsmLabels (PR #148877)

2025-07-30 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/148877 >From 382395408c4b9a38206e984328ab472c25e7c55f Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Fri, 15 Nov 2024 01:59:36 + Subject: [PATCH 01/17] [lldb][Expression] Encode Module and DIE UIDs into func

[Lldb-commits] [lldb] [lldb][test] Add LLDB test for UBSan trap frame recognizer (PR #151231)

2025-07-30 Thread Michael Buch via lldb-commits
Michael137 wrote: > Also surprised that we didn't have tests for this already, but I presume > that's why you are contributing this now. There are tests for the `__builtin_verbose_trap` builtin, which was the only way Clang used to emit the artificial frames for LLDB to recognize. After https

[Lldb-commits] [lldb] [lldb] Add LLDB test for UBSan trap frame recognizer (PR #151231)

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

[Lldb-commits] [lldb] [lldb] Add LLDB test for UBSan trap frame recognizer (PR #151231)

2025-07-30 Thread Michael Buch via lldb-commits
@@ -0,0 +1,17 @@ +# REQUIRES: clang + +# RUN: %clang_host -g -O0 %S/Inputs/ubsan_add_overflow.cpp -o %t.out \ +# RUN: -fsanitize=signed-integer-overflow -fsanitize-trap=signed-integer-overflow Michael137 wrote: Lets indent here to make it easier to read ```sugge

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-29 Thread Michael Buch via lldb-commits
@@ -2291,6 +2298,8 @@ void SymbolFileNativePDB::BuildParentMap() { TypeIndex fwd = full_to_forward[full]; m_parent_types[fwd] = m_parent_types[full]; } + + m_type_base_names.Sort(); Michael137 wrote: Or is this all a giant for-loop? Github makes it

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-29 Thread Michael Buch via lldb-commits
@@ -2291,6 +2298,8 @@ void SymbolFileNativePDB::BuildParentMap() { TypeIndex fwd = full_to_forward[full]; m_parent_types[fwd] = m_parent_types[full]; } + + m_type_base_names.Sort(); Michael137 wrote: Can we move this up to just after we appended to

[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)

2025-07-29 Thread Michael Buch via lldb-commits
@@ -72,6 +72,14 @@ struct CVTagRecord { return cvunion.Name; } + CompilerContextKind contextKind() const { +if (m_kind == Struct || m_kind == Class) + return CompilerContextKind::ClassOrStruct; +if (m_kind == Enum) + return CompilerContextKind::Enum; +

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-07-29 Thread Michael Buch via lldb-commits
@@ -89,6 +89,8 @@ A complete list of currently supported format string variables is listed below: +---+---

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-07-29 Thread Michael Buch via lldb-commits
@@ -435,142 +435,202 @@ struct DemanglingPartsTestCase { DemanglingPartsTestCase g_demangling_parts_test_cases[] = { // clang-format off { "_ZNVKO3BarIN2ns3QuxIiEEE1CIPFi3FooIS_IiES6_EEE6methodIS6_EENS5_IT_SC_E5InnerIiEESD_SD_", - { /*.BasenameRange=*/{92, 98}, /*.S

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-07-29 Thread Michael Buch via lldb-commits
@@ -30,6 +30,16 @@ struct DemangledNameInfo { /// \endcode std::pair BasenameRange; + /// A [start, end) pair for the function template arguments. + /// The basename is the name without scope qualifiers + /// and without template parameters. E.g., + /// \code{.cpp} +

[Lldb-commits] [lldb] [lldb] add TemplateRange and NameQualifiersRange to DemangledNameInfo (PR #150999)

2025-07-29 Thread Michael Buch via lldb-commits
@@ -30,6 +30,16 @@ struct DemangledNameInfo { /// \endcode std::pair BasenameRange; + /// A [start, end) pair for the function template arguments. + /// The basename is the name without scope qualifiers + /// and without template parameters. E.g., + /// \code{.cpp} +

  1   2   3   4   5   6   7   8   9   10   >