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
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
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
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
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
@@ -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
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
@@ -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
@@ -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
@@ -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
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
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
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
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
@@ -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
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
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
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
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
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
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
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
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
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
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
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
---
.
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
---
.
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
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
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
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
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
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
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
---
.
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
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
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
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
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
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
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
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
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
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
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
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
@@ -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
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
@@ -2158,6 +2160,21 @@ FunctionDecl *TypeSystemClang::CreateFunctionDeclaration(
func_decl->setConstexprKind(isConstexprSpecified
? ConstexprSpecKind::Constexpr
: ConstexprSpecKind::Unspecified);
+
+ // Atta
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
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
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*
@@ -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
@@ -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
@@ -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
@@ -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
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
@@ -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
@@ -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
@@ -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
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
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
@@ -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
@@ -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
@@ -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
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
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
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
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
@@ -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
@@ -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
@@ -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
@@ -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;
+
@@ -89,6 +89,8 @@ A complete list of currently supported format string
variables is listed below:
+---+---
@@ -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
@@ -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}
+
@@ -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 - 100 of 2294 matches
Mail list logo