labath wrote:
There are a couple of failures in the CI. The backtraces don't make a whole lot
sense, but it looks like there's something wrong with retrieving the list of
variables from a CU.
https://github.com/llvm/llvm-project/pull/147887
___
lldb-
https://github.com/jasonmolenda edited
https://github.com/llvm/llvm-project/pull/147434
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
cs01 wrote:
I added some logs to better understand and debug what's going on. Here are some
results from my testing.
In lldb, turn on logs
```
(lldb) log enable -f /tmp/lldb.log lldb platform
```
then open /tmp/lldb.log:
```
lldb-dap PlatformAndroid::CreateInstance(force=true,
arch={,
https://github.com/JDevlieghere approved this pull request.
https://github.com/llvm/llvm-project/pull/147611
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/UltimateForce21 updated
https://github.com/llvm/llvm-project/pull/144238
>From 8ed8c540e7600d720a63bc2882a81a2c65c11d41 Mon Sep 17 00:00:00 2001
From: ultimateforce21
Date: Wed, 11 Jun 2025 00:11:09 -0400
Subject: [PATCH 01/12] [lldb] Add DWARFExpressionEntry and
GetExpressi
https://github.com/jasonmolenda edited
https://github.com/llvm/llvm-project/pull/147434
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
b10902118 wrote:
> > So the solution is copying the implementation in
> > NativeRegisterContextLinux_arm64.cpp.
>
> Yes, try putting the 64-bit code in a separate file in Process/Linux then
> using it in both places.
>
> Currently arm64 includes the arm header, for reasons I am not sure, so i
jasonmolenda wrote:
If you look at an existing EmulateInstruction target plugin that we live on
today, such as ARM64, it returns context types for
`UnwindAssemblyInstEmulation` like
```
eContextAdjustBaseRegister
eContextAdjustStackPointer
eContextAdvancePC
eContextImmediate
eContextPopRegist
@@ -129,14 +129,10 @@ class BreakpointLocation
///
/// \param[in] condition
///The condition expression to evaluate when the breakpoint is hit.
jimingham wrote:
You removed the word "expression" from the help in Breakpoint.h, it's confusing
to have
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/147701
>From 4045243ed2f069eed0ef1de5c07d2a633c248225 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Wed, 9 Jul 2025 13:20:04 +0100
Subject: [PATCH 1/3] [lldb][test] Move std::function from libcxx to generic
dir
chelcassanova wrote:
@slydiman
> What linux remote bots are you talking about? Everything worked. Looks like
> we need to revert this PR ASAP because it broke too much.
I reverted this PR, when I had landed the original PR it failed on the
`lldb-remote-linux-ubuntu` bot. When I tried to rela
@@ -292,200 +594,367 @@ class LLDB_API SBDebugger {
/// "platform list" command.
uint32_t GetNumAvailablePlatforms();
- /// Get the name and description of one of the available platforms.
+ /// Get information about one of the available platforms.
///
/// \param[in
https://github.com/bulbazord approved this pull request.
https://github.com/llvm/llvm-project/pull/147621
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
slydiman wrote:
@chelcassanova
> Relands the commit to upstream the lldb-rpc-gen tool in order to fix a build
> failure on the linux remote bots.
What `linux remote bots` are you talking about? Everything worked. Looks like
we need to revert this PR ASAP because it broke too much.
https://g
https://github.com/Nerixyz updated
https://github.com/llvm/llvm-project/pull/147575
>From 8894b65deda77e10ca7c035670d17f2166fd58a7 Mon Sep 17 00:00:00 2001
From: Nerixyz
Date: Tue, 8 Jul 2025 18:40:06 +0200
Subject: [PATCH 1/5] [LLDB] Add formatters for MSVC STL std::shared_ptr
---
.../Plugin
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: John Harrison (ashgti)
Changes
Originally commited in 362b9d78b4ee9107da2b5e90b3764b0f0fa610fe and then
reverted in cb63b75e32a415c9bfc298ed7fdcd67e8d9de54c.
This re-lands a subset of the changes to dap_server.py/DebugCommunication and
ad
https://github.com/ashgti created
https://github.com/llvm/llvm-project/pull/147787
Originally commited in 362b9d78b4ee9107da2b5e90b3764b0f0fa610fe and then
reverted in cb63b75e32a415c9bfc298ed7fdcd67e8d9de54c.
This re-lands a subset of the changes to dap_server.py/DebugCommunication and
addre
cjdb wrote:
You're right that it's not _strictly_ necessary, but it makes the code
**substantially** simpler when they're coupled. Otherwise, we need to convert
from using a size-based vector to a pointer-based `__split_buffer`, which I
found to be confusing
slydiman wrote:
The buildbot lldb-remote-linux-ubuntu is broken
https://lab.llvm.org/buildbot/#/builders/195/builds/11604
```
/home/buildbot/worker/as-builder-9/lldb-remote-linux-ubuntu/llvm-project/lldb/include/lldb/lldb-enumerations.h:12:10:
fatal error: 'cstdint' file not found
```
https://g
https://github.com/JDevlieghere updated
https://github.com/llvm/llvm-project/pull/147621
>From af54eaf253b1840abb721c3e584d9936fad12c8a Mon Sep 17 00:00:00 2001
From: Jonas Devlieghere
Date: Tue, 8 Jul 2025 16:37:20 -0700
Subject: [PATCH 1/3] [lldb] Document the SBDebugger public interface
Des
kuilpd wrote:
> but I can also imagine doing something like python's "arbitrary width"
> integers.
Isn't this basically `llvm::APInt` class? We could just disregard every
integer's type, add their values as `APInt` and return the result with a
maximum width integer type. I kind of like this p
https://github.com/JDevlieghere updated
https://github.com/llvm/llvm-project/pull/147621
>From af54eaf253b1840abb721c3e584d9936fad12c8a Mon Sep 17 00:00:00 2001
From: Jonas Devlieghere
Date: Tue, 8 Jul 2025 16:37:20 -0700
Subject: [PATCH 1/2] [lldb] Document the SBDebugger public interface
Des
@@ -153,70 +249,221 @@ class LLDB_API SBDebugger {
/// lldb::SBStructuredData settings = debugger.GetSetting("target.arg0");
/// lldb::SBStructuredData settings = debugger.GetSetting("target");
///
- /// \param[out] setting
+ /// \param[in] setting
/// Property set
@@ -184,67 +172,299 @@ public:
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void
swap(__split_buffer& __x)
_NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value ||
__is_nothrow_swappable_v<__alloc_rr>);
- _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FR
@@ -106,44 +124,122 @@ class LLDB_API SBDebugger {
bool &is_debugger_specific);
#endif
+ /// Get structured progress data from an event.
+ ///
+ /// \param [in] event
+ /// The event to extract the progress information from.
+ /
ldionne wrote:
Actually, enabling the size-based vector doesn't technically require these
changes to `__split_buffer` AFAICT, since we only ever use `__split_buffer` as
an implementation detail, and the representation of `__split_buffer` has no
impact on the
@@ -153,70 +249,221 @@ class LLDB_API SBDebugger {
/// lldb::SBStructuredData settings = debugger.GetSetting("target.arg0");
/// lldb::SBStructuredData settings = debugger.GetSetting("target");
///
- /// \param[out] setting
+ /// \param[in] setting
/// Property set
https://github.com/JDevlieghere updated
https://github.com/llvm/llvm-project/pull/147603
>From 7aa2ae6b97dd933afdcf59984d20a659ad59ab79 Mon Sep 17 00:00:00 2001
From: Jonas Devlieghere
Date: Tue, 8 Jul 2025 14:55:59 -0700
Subject: [PATCH] [lldb] Support specifying a language for breakpoint
con
@@ -106,44 +124,122 @@ class LLDB_API SBDebugger {
bool &is_debugger_specific);
#endif
+ /// Get structured progress data from an event.
+ ///
+ /// \param [in] event
+ /// The event to extract the progress information from.
+ /
@@ -106,44 +124,122 @@ class LLDB_API SBDebugger {
bool &is_debugger_specific);
#endif
+ /// Get structured progress data from an event.
+ ///
+ /// \param [in] event
+ /// The event to extract the progress information from.
+ /
@@ -106,44 +124,122 @@ class LLDB_API SBDebugger {
bool &is_debugger_specific);
#endif
+ /// Get structured progress data from an event.
medismailben wrote:
nit:
```suggestion
/// Get progress structured data from
@@ -42,17 +52,21 @@ def setUp(self):
"main.c", "// Find the line number of c's parent call here."
)
-def breakpoint_conditions(self, inline=False):
+def breakpoint_conditions(self, inline=False, language=None):
"""Exercise breakpoint condit
https://github.com/JDevlieghere updated
https://github.com/llvm/llvm-project/pull/147603
>From 9e4ce45f9d5957b80c0e9b00c03bd29308be66b1 Mon Sep 17 00:00:00 2001
From: Jonas Devlieghere
Date: Tue, 8 Jul 2025 14:55:59 -0700
Subject: [PATCH] [lldb] Support specifying a language for breakpoint
con
medismailben wrote:
> We definitely need more documentation, but I do sometimes get annoyed by it
> when it obscures browsing through the source code by stretching out the class
> definition. If that includes important information about the API, then I
> think it's worth it, but some of these
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Chelsea Cassanova (chelcassanova)
Changes
Reverts llvm/llvm-project#147417. Failing an assert:
`lldb-rpc-gen:
../llvm-project/lldb/tools/lldb-rpc/lldb-rpc-gen/server/RPCServerSourceEmitter.cpp:361:
void lldb_rpc_gen::RPCServerSourceEmitter
https://github.com/chelcassanova closed
https://github.com/llvm/llvm-project/pull/147779
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Chelsea Cassanova
Date: 2025-07-09T09:39:30-07:00
New Revision: 76a841a5e6f696890ce6abf6f11bd9915f1d77d9
URL:
https://github.com/llvm/llvm-project/commit/76a841a5e6f696890ce6abf6f11bd9915f1d77d9
DIFF:
https://github.com/llvm/llvm-project/commit/76a841a5e6f696890ce6abf6f11bd9915f1d77d9.d
https://github.com/chelcassanova created
https://github.com/llvm/llvm-project/pull/147779
Reverts llvm/llvm-project#147417. Failing an assert:
`lldb-rpc-gen:
../llvm-project/lldb/tools/lldb-rpc/lldb-rpc-gen/server/RPCServerSourceEmitter.cpp:361:
void lldb_rpc_gen::RPCServerSourceEmitter::EmitM
https://github.com/YexuanXiao edited
https://github.com/llvm/llvm-project/pull/143653
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/JDevlieghere edited
https://github.com/llvm/llvm-project/pull/147603
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -0,0 +1,53 @@
+//===--===//
+//
+// 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/chelcassanova closed
https://github.com/llvm/llvm-project/pull/147417
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Chelsea Cassanova
Date: 2025-07-09T09:19:42-07:00
New Revision: afc82ce3aa56670101495d7f328d938f55ccaf8b
URL:
https://github.com/llvm/llvm-project/commit/afc82ce3aa56670101495d7f328d938f55ccaf8b
DIFF:
https://github.com/llvm/llvm-project/commit/afc82ce3aa56670101495d7f328d938f55ccaf8b.d
https://github.com/chelcassanova edited
https://github.com/llvm/llvm-project/pull/147417
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: David Peixotto (dmpots)
Changes
This commit adds completion support for the plugin commands. It will try to
complete partial namespaces to the full namespace string. If the completion
input is already a full namespace string then it will a
@@ -173,7 +173,7 @@ const char *SBBreakpointLocation::GetCondition() {
std::lock_guard guard(
loc_sp->GetTarget().GetAPIMutex());
- return ConstString(loc_sp->GetConditionText()).GetCString();
+ return ConstString(loc_sp->GetCondition().GetText()).GetCString();
-
https://github.com/dmpots created
https://github.com/llvm/llvm-project/pull/147775
This commit adds completion support for the plugin commands. It will try to
complete partial namespaces to the full namespace string. If the completion
input is already a full namespace string then it will add a
https://github.com/chelcassanova updated
https://github.com/llvm/llvm-project/pull/147655
>From 899439d378923f22af7b11b99cafa1789ed436a7 Mon Sep 17 00:00:00 2001
From: Chelsea Cassanova
Date: Wed, 2 Jul 2025 00:17:31 -0700
Subject: [PATCH] [lldb][rpc] Upstream RPC Client Library Emitters
This
@@ -0,0 +1,53 @@
+//===--===//
+//
+// 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/JDevlieghere closed
https://github.com/llvm/llvm-project/pull/147617
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Jonas Devlieghere
Date: 2025-07-09T09:13:57-07:00
New Revision: 2756ba57f1541d63af0fd01f9fda773d88dcc3b5
URL:
https://github.com/llvm/llvm-project/commit/2756ba57f1541d63af0fd01f9fda773d88dcc3b5
DIFF:
https://github.com/llvm/llvm-project/commit/2756ba57f1541d63af0fd01f9fda773d88dcc3b5.d
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/147701
>From 4045243ed2f069eed0ef1de5c07d2a633c248225 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Wed, 9 Jul 2025 13:20:04 +0100
Subject: [PATCH 1/2] [lldb][test] Move std::function from libcxx to generic
dir
https://github.com/ashgti converted_to_draft
https://github.com/llvm/llvm-project/pull/141983
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/ashgti converted_to_draft
https://github.com/llvm/llvm-project/pull/140777
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/UltimateForce21 updated
https://github.com/llvm/llvm-project/pull/147460
>From 8ed8c540e7600d720a63bc2882a81a2c65c11d41 Mon Sep 17 00:00:00 2001
From: ultimateforce21
Date: Wed, 11 Jun 2025 00:11:09 -0400
Subject: [PATCH 01/20] [lldb] Add DWARFExpressionEntry and
GetExpressi
https://github.com/ashgti edited
https://github.com/llvm/llvm-project/pull/131820
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/ashgti approved this pull request.
Looks good to me!
https://github.com/llvm/llvm-project/pull/131820
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/Michael137 closed
https://github.com/llvm/llvm-project/pull/147702
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Michael Buch
Date: 2025-07-09T16:40:23+01:00
New Revision: e7c9f29fc5c44a79de9a64b12a7318c503ebb87d
URL:
https://github.com/llvm/llvm-project/commit/e7c9f29fc5c44a79de9a64b12a7318c503ebb87d
DIFF:
https://github.com/llvm/llvm-project/commit/e7c9f29fc5c44a79de9a64b12a7318c503ebb87d.diff
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/147701
>From 4045243ed2f069eed0ef1de5c07d2a633c248225 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Wed, 9 Jul 2025 13:20:04 +0100
Subject: [PATCH 1/2] [lldb][test] Move std::function from libcxx to generic
dir
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/147702
>From 0b995316a9cca1f766b20778eb80b897130f5cca Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Wed, 9 Jul 2025 13:15:06 +0100
Subject: [PATCH 1/2] [lldb][test] Move std::initializer_list from libcxx to
gen
Michael137 wrote:
> The buildbot lldb-x86_64-win is broken after this patch
> https://lab.llvm.org/buildbot/#/builders/211/builds/361
>
> ```
> FAIL: lldb-api::TestDataFormatterStdU8String.py
> FAIL: lldb-api::TestDataFormatterStdString.py
> ```
Should've been fixed by
https://github.com/llvm
charles-zablit wrote:
Deactivating these tests allows the CI to pass on the Apple bots:
https://github.com/swiftlang/llvm-project/pull/10971
https://github.com/llvm/llvm-project/pull/147768
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
htt
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Charles Zablit (charles-zablit)
Changes
https://github.com/llvm/llvm-project/pull/144913 was reverted because some of
the Darwin tests were failing on SDKs prior to `15.0`. This config is not
supported (having a version of lldb which is mo
slydiman wrote:
The buildbot lldb-x86_64-win is broken after this patch
https://lab.llvm.org/buildbot/#/builders/211/builds/361
```
FAIL: lldb-api::TestDataFormatterStdU8String.py
FAIL: lldb-api::TestDataFormatterStdString.py
```
https://github.com/llvm/llvm-project/pull/147525
_
https://github.com/charles-zablit created
https://github.com/llvm/llvm-project/pull/147768
https://github.com/llvm/llvm-project/pull/144913 was reverted because some of
the Darwin tests were failing on SDKs prior to `15.0`. This config is not
supported (having a version of lldb which is more r
Author: Michael Buch
Date: 2025-07-09T16:09:20+01:00
New Revision: cbb2ef3835df827b2809f4dedce6687626f30f5c
URL:
https://github.com/llvm/llvm-project/commit/cbb2ef3835df827b2809f4dedce6687626f30f5c
DIFF:
https://github.com/llvm/llvm-project/commit/cbb2ef3835df827b2809f4dedce6687626f30f5c.diff
b10902118 wrote:
> > the test
>
> By this you mean it skips any test that requires hardware breakpoints? Or you
> mean that in the general course of using lldb it doesn't use hardware
> breakpoints because of this?
>
> (I assume you could make the test suite launch all debugees as AArch32 but
@@ -0,0 +1,295 @@
+//===-- MsvcStlVector.cpp
-===//
+//
+// 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: Ap
@@ -58,6 +63,38 @@ int main() {
vBool.push_back(true);
vBool.push_back(false);
vBool.push_back(true);
+
+ // 48..=55
+ vBool.push_back(true);
+ vBool.push_back(true);
+ vBool.push_back(false);
+ vBool.push_back(true);
+ vBool.push_back(false);
+ vBool.push_back(tru
@@ -1636,6 +1622,36 @@ static void
LoadCommonStlFormatters(lldb::TypeCategoryImplSP cpp_category_sp) {
return LibStdcppStringSummaryProvider(valobj, stream, options);
},
"MSVC STL/libstdc++ std::wstring summary provider"));
+
+ auto smart_ptr_c
labath wrote:
Personally, I'd be fine with saying that anytime we start doing arithmetic on
something (maybe, whenever we do a lvalue-to-rvalue conversion?) we switch to a
"DIL" type system. We could make that "type system" work mostly like C, but I
can also imagine doing something like python
@@ -16,7 +16,7 @@ lldb::ValueObjectSP
lldb_private::formatters::GetDesugaredSmartPointerValue(
auto arg = container_type.GetTypeTemplateArgument(0);
if (!arg)
-return nullptr;
+return ptr.GetSP(); // FIXME: PDB doesn't have info about template
arguments
-
@@ -42,17 +52,21 @@ def setUp(self):
"main.c", "// Find the line number of c's parent call here."
)
-def breakpoint_conditions(self, inline=False):
+def breakpoint_conditions(self, inline=False, language=None):
"""Exercise breakpoint condit
yxsamliu wrote:
it seems it is already fixed. thanks
https://github.com/llvm/llvm-project/pull/147734
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/yxsamliu closed
https://github.com/llvm/llvm-project/pull/147734
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -0,0 +1,295 @@
+//===-- MsvcStlVector.cpp
-===//
+//
+// 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: Ap
@@ -88,3 +102,9 @@ def test_libstdcxx_debug(self):
dictionary={"USE_LIBSTDCPP": 1, "CXXFLAGS_EXTRAS":
"-D_GLIBCXX_DEBUG"}
)
self.do_test()
+
+@add_test_categories(["msvcstl"])
+def test_libstdcxx(self):
+# No flags, because the "msvc
https://github.com/Michael137 commented:
Generally seems reasonable. Just left some preliminary questions
Will revisit later
https://github.com/llvm/llvm-project/pull/147538
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.
@@ -58,6 +63,38 @@ int main() {
vBool.push_back(true);
vBool.push_back(false);
vBool.push_back(true);
+
+ // 48..=55
+ vBool.push_back(true);
+ vBool.push_back(true);
+ vBool.push_back(false);
+ vBool.push_back(true);
+ vBool.push_back(false);
+ vBool.push_back(tru
https://github.com/Michael137 edited
https://github.com/llvm/llvm-project/pull/147538
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Yaxun (Sam) Liu (yxsamliu)
Changes
introduced by https://github.com/llvm/llvm-project/pull/147727
---
Full diff: https://github.com/llvm/llvm-project/pull/147734.diff
2 Files Affected:
- (modified)
lldb/source/Plugins/ExpressionParser/C
https://github.com/yxsamliu created
https://github.com/llvm/llvm-project/pull/147734
introduced by https://github.com/llvm/llvm-project/pull/147727
>From a3fb9ec3f2bb82c3120190eab267cdc7e9124c63 Mon Sep 17 00:00:00 2001
From: "Yaxun (Sam) Liu"
Date: Wed, 9 Jul 2025 09:52:26 -0400
Subject: [PAT
Author: Michael Buch
Date: 2025-07-09T15:00:24+01:00
New Revision: 2d030b0ecdb32b7b6b9d47f66182db7e2dafa026
URL:
https://github.com/llvm/llvm-project/commit/2d030b0ecdb32b7b6b9d47f66182db7e2dafa026
DIFF:
https://github.com/llvm/llvm-project/commit/2d030b0ecdb32b7b6b9d47f66182db7e2dafa026.diff
@@ -16,7 +16,7 @@ lldb::ValueObjectSP
lldb_private::formatters::GetDesugaredSmartPointerValue(
auto arg = container_type.GetTypeTemplateArgument(0);
if (!arg)
-return nullptr;
+return ptr.GetSP(); // FIXME: PDB doesn't have info about template
arguments
-
https://github.com/Michael137 edited
https://github.com/llvm/llvm-project/pull/147575
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -16,7 +16,7 @@ lldb::ValueObjectSP
lldb_private::formatters::GetDesugaredSmartPointerValue(
auto arg = container_type.GetTypeTemplateArgument(0);
if (!arg)
-return nullptr;
+return ptr.GetSP(); // FIXME: PDB doesn't have info about template
arguments
-
https://github.com/Michael137 edited
https://github.com/llvm/llvm-project/pull/147575
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -0,0 +1,170 @@
+//===-- MsvcStlSmartPointer.cpp
---===//
+//
+// 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: Ap
@@ -1636,6 +1622,36 @@ static void
LoadCommonStlFormatters(lldb::TypeCategoryImplSP cpp_category_sp) {
return LibStdcppStringSummaryProvider(valobj, stream, options);
},
"MSVC STL/libstdc++ std::wstring summary provider"));
+
+ auto smart_ptr_c
@@ -16,7 +16,7 @@ lldb::ValueObjectSP
lldb_private::formatters::GetDesugaredSmartPointerValue(
auto arg = container_type.GetTypeTemplateArgument(0);
if (!arg)
-return nullptr;
+return ptr.GetSP(); // FIXME: PDB doesn't have info about template
arguments
-
@@ -118,3 +118,9 @@ def test_libcxx(self):
def test_libstdcxx(self):
self.build(dictionary={"USE_LIBSTDCPP": 1})
self.do_test()
+
+@add_test_categories(["msvcstl"])
+def test_msvcstl(self):
+# No flags, because the "msvcstl" category checks t
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp --
lldb/source/Plugins/ExpressionParser/Clang/ClangExpre
Author: Yaxun (Sam) Liu
Date: 2025-07-09T09:43:41-04:00
New Revision: 92fbfc22c1c560e4484d4260a8ed7747f6b75476
URL:
https://github.com/llvm/llvm-project/commit/92fbfc22c1c560e4484d4260a8ed7747f6b75476
DIFF:
https://github.com/llvm/llvm-project/commit/92fbfc22c1c560e4484d4260a8ed7747f6b75476.dif
https://github.com/yxsamliu closed
https://github.com/llvm/llvm-project/pull/147727
___
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.
thanks!
https://github.com/llvm/llvm-project/pull/147727
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Yaxun (Sam) Liu (yxsamliu)
Changes
Fixes buildbot failure on lldb-x86_64-debian due to
https://github.com/llvm/llvm-project/pull/146620
https://lab.llvm.org/buildbot/#/builders/162/builds/26414
Update LLDB calls to TargetInfo::adjust() to
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: None (DeanSturtevant1)
Changes
---
Patch is 142.46 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/147726.diff
44 Files Affected:
- (modified) clang/include/clang/Basic/BuiltinsAMD
llvmbot wrote:
@llvm/pr-subscribers-llvm-transforms
Author: None (DeanSturtevant1)
Changes
---
Patch is 142.46 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/147726.diff
44 Files Affected:
- (modified) clang/include/clang/Basic/BuiltinsAMD
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: None (DeanSturtevant1)
Changes
---
Patch is 142.46 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/147726.diff
44 Files Affected:
- (modified) clang/include/clang/Basic/BuiltinsAMDGPU.def (+1
1 - 100 of 176 matches
Mail list logo