[Lldb-commits] [lldb] [lldb][test] Move std::string_view from libcxx to generic directory (PR #147563)

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

[Lldb-commits] [lldb] [lldb][test] Move std::string_view from libcxx to generic directory (PR #147563)

2025-07-09 Thread Pavel Labath via lldb-commits
labath wrote: I guess this one is a mistake. https://github.com/llvm/llvm-project/pull/147563 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Enable SWIG Doxygen Translation (PR #147617)

2025-07-09 Thread Pavel Labath via lldb-commits
https://github.com/labath commented: Oooh, sweet. 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

[Lldb-commits] [lldb] [lldb] Enable SWIG Doxygen Translation (PR #147617)

2025-07-09 Thread Pavel Labath via lldb-commits
https://github.com/labath approved this pull request. 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

[Lldb-commits] [lldb] [lldb] Improving synchronization of MainLoopWindows. (PR #147438)

2025-07-09 Thread Dmitry Vasilyev via lldb-commits
slydiman wrote: So far everything looks good. Thanks. https://github.com/llvm/llvm-project/pull/147438 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][test] Move std::string_view from libcxx to generic directory (PR #147563)

2025-07-09 Thread Michael Buch via lldb-commits
Michael137 wrote: Whoops yes https://github.com/llvm/llvm-project/pull/147563 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][test] Move std::function from libcxx to generic directory (PR #147701)

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

[Lldb-commits] [lldb] [lldb][test] Move std::ranges::ref_view from libcxx to generic directory (PR #147705)

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

[Lldb-commits] [lldb] Draft: [LLDB] Add scalar literal node (PR #147064)

2025-07-09 Thread Ilia Kuklin via lldb-commits
kuilpd wrote: > We could, but I'm not sure if that's the most important question right now. > The whole BasicType concept is very C-like. There is no "unsigned long long" > basic type in swift (or pretty much any other language). While you could say > that the function returns the langauge's e

[Lldb-commits] [lldb] [lldb][test] Merge MSVC STL std::(u8)string tests into generic directory (PR #147525)

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

[Lldb-commits] [lldb] Draft: [LLDB] Add scalar literal node (PR #147064)

2025-07-09 Thread Pavel Labath via lldb-commits
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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::shared_ptr (PR #147575)

2025-07-09 Thread via lldb-commits
@@ -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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-09 Thread via lldb-commits
@@ -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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-09 Thread via 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

[Lldb-commits] [lldb] Draft: [LLDB] Add scalar literal node (PR #147064)

2025-07-09 Thread Pavel Labath via lldb-commits
labath wrote: We could, but I'm not sure if that's the most important question right now. The whole BasicType concept is very C-like. There is no "unsigned long long" basic type in swift (or pretty much any other language). While you could say that the function returns the langauge's equivalen

[Lldb-commits] [lldb] [lldb][test] Move std::valarray from libcxx to generic directory (PR #147704)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes This just moves the test from `libcxx` to `generic`. There are currently no `std::valarray` formatters for libstdc++ so I didn't add a test-case for it. Split out from https://github.com/llvm/llvm-project/

[Lldb-commits] [lldb] ff05d26 - [lldb][test] Move std::string_view from libcxx to generic directory (#147563)

2025-07-09 Thread via lldb-commits
Author: Michael Buch Date: 2025-07-09T12:35:22+01:00 New Revision: ff05d26a29739e9c8dbb41d88840261ca6e13f83 URL: https://github.com/llvm/llvm-project/commit/ff05d26a29739e9c8dbb41d88840261ca6e13f83 DIFF: https://github.com/llvm/llvm-project/commit/ff05d26a29739e9c8dbb41d88840261ca6e13f83.diff

[Lldb-commits] [lldb] [lldb][test] Move std::string_view from libcxx to generic directory (PR #147563)

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

[Lldb-commits] [lldb] [lldb][test] Move std::unordered_map::iterator from libcxx to generic… (PR #147703)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes … directory This just moves the test from `libcxx` to `generic`. There are currently no `std::unordered_map::iterator` formatters for libstdc++ so I didn't add a test-case for it. Split out from https://

[Lldb-commits] [lldb] [lldb][test] Move std::initializer_list from libcxx to generic directory (PR #147702)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes This just moves the test from `libcxx` to `generic`. There are currently no `std::initializer_list` formatters for libstdc++ so I didn't add a test-case for it. Split out from https://github.com/llvm/llvm

[Lldb-commits] [lldb] [lldb][test] Move std::function from libcxx to generic directory (PR #147701)

2025-07-09 Thread via lldb-commits
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/test/API/functionalities/data-formatter/data-for

[Lldb-commits] [lldb] [lldb][test] Move std::function from libcxx to generic directory (PR #147701)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/147701 This just moves the test from `libcxx` to `generic`. There are currently no `std::function` formatters for libstdc++ so I didn't add a test-case for it. Split out from https://github.com/llvm/llvm-project/pu

[Lldb-commits] [lldb] [lldb][test] Move std::function from libcxx to generic directory (PR #147701)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes This just moves the test from `libcxx` to `generic`. There are currently no `std::function` formatters for libstdc++ so I didn't add a test-case for it. Split out from https://github.com/llvm/llvm-project/

[Lldb-commits] [lldb] [lldb][test] Move std::initializer_list from libcxx to generic directory (PR #147702)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/147702 This just moves the test from `libcxx` to `generic`. There are currently no `std::initializer_list` formatters for libstdc++ so I didn't add a test-case for it. Split out from https://github.com/llvm/llvm-p

[Lldb-commits] [lldb] [lldb][test] Move std::unordered_map::iterator from libcxx to generic… (PR #147703)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/147703 … directory This just moves the test from `libcxx` to `generic`. There are currently no `std::unordered_map::iterator` formatters for libstdc++ so I didn't add a test-case for it. Split out from https://gi

[Lldb-commits] [lldb] [lldb][test] Move std::valarray from libcxx to generic directory (PR #147704)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/147704 This just moves the test from `libcxx` to `generic`. There are currently no `std::valarray` formatters for libstdc++ so I didn't add a test-case for it. Split out from https://github.com/llvm/llvm-project/pu

[Lldb-commits] [lldb] [lldb][test] Move std::initializer_list from libcxx to generic directory (PR #147702)

2025-07-09 Thread via lldb-commits
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/test/API/functionalities/data-formatter/data-for

[Lldb-commits] [lldb] [lldb][test] Move std::ranges::ref_view from libcxx to generic directory (PR #147705)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/147705 This just moves the test from `libcxx` to `generic`. There are currently no `std::ranges::ref_view` formatters for libstdc++ so I didn't add a test-case for it. Split out from https://github.com/llvm/llvm-p

[Lldb-commits] [lldb] [lldb][test] Move std::ranges::ref_view from libcxx to generic directory (PR #147705)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes This just moves the test from `libcxx` to `generic`. There are currently no `std::ranges::ref_view` formatters for libstdc++ so I didn't add a test-case for it. Split out from https://github.com/llvm/llvm

[Lldb-commits] [lldb] [lldb][test] Turn (most) libcxx data-formatters tests into generic tests (PR #146740)

2025-07-09 Thread Michael Buch via lldb-commits
Michael137 wrote: Most of these formatters have now been merged in separate (linked) PRs. Thanks @labath for all the reviews The remaining bits: * https://github.com/llvm/llvm-project/pull/147705 * https://github.com/llvm/llvm-project/pull/147704 * https://github.com/llvm/llvm-project/pull/1477

[Lldb-commits] [lldb] [LLDB] fix formatting issue (PR #147734)

2025-07-09 Thread Yaxun Liu via lldb-commits
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

[Lldb-commits] [lldb] [LLDB] fix formatting issue (PR #147734)

2025-07-09 Thread via 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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-09 Thread Michael Buch via lldb-commits
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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-09 Thread Michael Buch via lldb-commits
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.

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-09 Thread Michael Buch via lldb-commits
@@ -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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-09 Thread Michael Buch via 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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::vector (PR #147538)

2025-07-09 Thread Michael Buch via lldb-commits
@@ -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

[Lldb-commits] [lldb] [LLDB] fix formatting issue (PR #147734)

2025-07-09 Thread Yaxun Liu via lldb-commits
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

[Lldb-commits] [lldb] [LLDB] fix formatting issue (PR #147734)

2025-07-09 Thread Yaxun Liu via 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

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Mike Ash via lldb-commits
@@ -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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::shared_ptr (PR #147575)

2025-07-09 Thread via 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 -

[Lldb-commits] [lldb] Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969) (PR #147417)

2025-07-09 Thread David Spickett via lldb-commits
DavidSpickett wrote: For relands, please describe the difference between the reland and the original patch in the PR description. This helps us later when it turns out that either it did not fix the problem you thought it did, or it did, but now there is another problem. https://github.com/ll

[Lldb-commits] [lldb] [lldb][AArch64] Fix arm64 hardware breakpoint/watchpoint to arm32 process. (PR #147198)

2025-07-09 Thread David Spickett via lldb-commits
DavidSpickett 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 seems un

[Lldb-commits] [lldb] [lldb][test] Move std::string_view from libcxx to generic directory (PR #147563)

2025-07-09 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `lldb` at step 4 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/19129 Here is the relevant p

[Lldb-commits] [lldb] [lldb][test] Move std::span from libcxx to generic directory (PR #147680)

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

[Lldb-commits] [lldb] [lldb][test] Move std::unordered_map::iterator from libcxx to generic… (PR #147703)

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

[Lldb-commits] [lldb] [lldb][Formatters] Simplify std::list libc++ formatter matching regex (PR #147709)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/147709 None >From e9766fb0a93eace36db035369c25176c1de83c7b Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Wed, 9 Jul 2025 13:41:29 +0100 Subject: [PATCH] [lldb][Formatters] Simplify std::list libc++ formatter m

[Lldb-commits] [lldb] [lldb][test] Move std::unordered_map::iterator from libcxx to generic… (PR #147703)

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

[Lldb-commits] [lldb] b0cc186 - [lldb][test] Move std::span from libcxx to generic directory (#147680)

2025-07-09 Thread via lldb-commits
Author: Michael Buch Date: 2025-07-09T12:57:36+01:00 New Revision: b0cc1867a3b84867db5add7d631d4b0c1c10b13b URL: https://github.com/llvm/llvm-project/commit/b0cc1867a3b84867db5add7d631d4b0c1c10b13b DIFF: https://github.com/llvm/llvm-project/commit/b0cc1867a3b84867db5add7d631d4b0c1c10b13b.diff

[Lldb-commits] [lldb] [lldb][test] Move std::span from libcxx to generic directory (PR #147680)

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

[Lldb-commits] [lldb] ba6f872 - [lldb][test] Move std::unordered_map::iterator from libcxx to generic… (#147703)

2025-07-09 Thread via lldb-commits
Author: Michael Buch Date: 2025-07-09T12:57:54+01:00 New Revision: ba6f87248b948e019cbb2d31099d410e3c0f20d0 URL: https://github.com/llvm/llvm-project/commit/ba6f87248b948e019cbb2d31099d410e3c0f20d0 DIFF: https://github.com/llvm/llvm-project/commit/ba6f87248b948e019cbb2d31099d410e3c0f20d0.diff

[Lldb-commits] [lldb] [lldb][test] Move std::valarray from libcxx to generic directory (PR #147704)

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

[Lldb-commits] [lldb] [lldb][test] Move std::initializer_list from libcxx to generic directory (PR #147702)

2025-07-09 Thread Pavel Labath via lldb-commits
https://github.com/labath approved this pull request. 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

[Lldb-commits] [lldb] 13a1a63 - [lldb][test] Move std::valarray from libcxx to generic directory (#147704)

2025-07-09 Thread via lldb-commits
Author: Michael Buch Date: 2025-07-09T14:20:22+01:00 New Revision: 13a1a632c25482f8fc0ffe2ca2147dec27d4d931 URL: https://github.com/llvm/llvm-project/commit/13a1a632c25482f8fc0ffe2ca2147dec27d4d931 DIFF: https://github.com/llvm/llvm-project/commit/13a1a632c25482f8fc0ffe2ca2147dec27d4d931.diff

[Lldb-commits] [lldb] [lldb][test] Move std::valarray from libcxx to generic directory (PR #147704)

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

[Lldb-commits] [lldb] 1e6dd8c - [lldb][test] Merge MSVC STL std::(u8)string tests into generic directory (#147525)

2025-07-09 Thread via lldb-commits
Author: Michael Buch Date: 2025-07-09T14:20:44+01:00 New Revision: 1e6dd8c1e47f90f33b4ade4a13309d978212c297 URL: https://github.com/llvm/llvm-project/commit/1e6dd8c1e47f90f33b4ade4a13309d978212c297 DIFF: https://github.com/llvm/llvm-project/commit/1e6dd8c1e47f90f33b4ade4a13309d978212c297.diff

[Lldb-commits] [lldb] fa80a1a - [lldb][test] Move std::ranges::ref_view from libcxx to generic directory (#147705)

2025-07-09 Thread via lldb-commits
Author: Michael Buch Date: 2025-07-09T14:20:57+01:00 New Revision: fa80a1a4d46d3efedd82855dc3b8c1031b11e4e1 URL: https://github.com/llvm/llvm-project/commit/fa80a1a4d46d3efedd82855dc3b8c1031b11e4e1 DIFF: https://github.com/llvm/llvm-project/commit/fa80a1a4d46d3efedd82855dc3b8c1031b11e4e1.diff

[Lldb-commits] [lldb] [lldb][test] Merge MSVC STL std::(u8)string tests into generic directory (PR #147525)

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

[Lldb-commits] [lldb] [lldb][test] Move std::ranges::ref_view from libcxx to generic directory (PR #147705)

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

[Lldb-commits] [lldb] [lldb][test] Move std::initializer_list from libcxx to generic directory (PR #147702)

2025-07-09 Thread Michael Buch via lldb-commits
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

[Lldb-commits] [lldb] [lldb][test] Move std::function from libcxx to generic directory (PR #147701)

2025-07-09 Thread Michael Buch via lldb-commits
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

[Lldb-commits] [lldb] [lldb][test] Move std::string_view from libcxx to generic directory (PR #147563)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/147563 >From 07ee63fa3f707507d332e52626ac109f2e1829f1 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Tue, 8 Jul 2025 18:30:16 +0100 Subject: [PATCH 1/4] [lldb][test] Move std::string_view from libcxx to generic

[Lldb-commits] [lldb] [lldb][test] Merge MSVC STL std::(u8)string tests into generic directory (PR #147525)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/147525 >From ce9eaf42172580aac1d97e109d8713ba59c3c91a Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Tue, 8 Jul 2025 15:21:28 +0100 Subject: [PATCH 1/4] [lldb][test] Merge MSVC STL std::(u8)string tests into gen

[Lldb-commits] [lldb] [lldb-dap] Add external terminal support (PR #146950)

2025-07-09 Thread Druzhkov Sergei via lldb-commits
https://github.com/DrSergei updated https://github.com/llvm/llvm-project/pull/146950 >From 913a9d09a38da0097c8e931806921f4a0bbbe087 Mon Sep 17 00:00:00 2001 From: Druzhkov Sergei Date: Wed, 2 Jul 2025 23:29:26 +0300 Subject: [PATCH] [lldb-dap] Add external terminal support --- .../test/tools/

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::shared_ptr (PR #147575)

2025-07-09 Thread Michael Buch via lldb-commits
@@ -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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::shared_ptr (PR #147575)

2025-07-09 Thread Michael Buch via 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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::shared_ptr (PR #147575)

2025-07-09 Thread Michael Buch via lldb-commits
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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::shared_ptr (PR #147575)

2025-07-09 Thread Michael Buch via 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 -

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::shared_ptr (PR #147575)

2025-07-09 Thread Michael Buch via 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 -

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::shared_ptr (PR #147575)

2025-07-09 Thread Michael Buch via lldb-commits
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

[Lldb-commits] [lldb] 2d030b0 - [lldb][Expression][NFC] Run clang-format on ClangExpressionParser.cpp and ClangModulesDeclVendor.cpp

2025-07-09 Thread Michael Buch via lldb-commits
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

[Lldb-commits] [lldb] [lldb][test] Move std::span from libcxx to generic directory (PR #147680)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/147680 This just moves the test from `libcxx` to `generic`. There are currently no `std::span` formatters for libstdc++ so I didn't add a test-case for it. Split out from https://github.com/llvm/llvm-project/pull/1

[Lldb-commits] [lldb] [lldb][test] Move std::span from libcxx to generic directory (PR #147680)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Michael Buch (Michael137) Changes This just moves the test from `libcxx` to `generic`. There are currently no `std::span` formatters for libstdc++ so I didn't add a test-case for it. Split out from https://github.com/llvm/llvm-project/pull

[Lldb-commits] [lldb] [lldb][test] Move std::span from libcxx to generic directory (PR #147680)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/147680 >From 4f261887775013b0ecc81abbb760188a58db Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Wed, 9 Jul 2025 11:46:31 +0100 Subject: [PATCH 1/2] [lldb][test] Move std::span from libcxx to generic directo

[Lldb-commits] [lldb] [lldb][test] Move std::string_view from libcxx to generic directory (PR #147563)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/147563 >From 07ee63fa3f707507d332e52626ac109f2e1829f1 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Tue, 8 Jul 2025 18:30:16 +0100 Subject: [PATCH 1/3] [lldb][test] Move std::string_view from libcxx to generic

[Lldb-commits] [lldb] [lldb-dap] Add external terminal support (PR #146950)

2025-07-09 Thread Ebuka Ezike via lldb-commits
@@ -235,7 +235,8 @@ contain the following key/value pairs: | **cwd** | string | | The program working directory. | **env** | dictionary | | Environment variables to set when launching the program. The format of

[Lldb-commits] [lldb] [lldb][test] Merge MSVC STL std::(u8)string tests into generic directory (PR #147525)

2025-07-09 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/147525 >From ce9eaf42172580aac1d97e109d8713ba59c3c91a Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Tue, 8 Jul 2025 15:21:28 +0100 Subject: [PATCH 1/3] [lldb][test] Merge MSVC STL std::(u8)string tests into gen

[Lldb-commits] [lldb] [lldb][test] Merge MSVC STL std::(u8)string tests into generic directory (PR #147525)

2025-07-09 Thread Michael Buch via lldb-commits
Michael137 wrote: > > But libc++ and libstdc++ print it as "abcd" (which seems like the more > > correct thing to do?) > > I'm not so sure about that. std::string has a separate length field and it > can contain embedded nul characters, so I can at least understand the idea of > trusting the

[Lldb-commits] [clang] [lldb] [llvm] [bazel] Update after db7888ca9aef6c203b363bbb395549b4e6cfa9d4 (#146732) (PR #147726)

2025-07-09 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-llvm-ir 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/clan

[Lldb-commits] [clang] [lldb] [llvm] [bazel] Update after db7888ca9aef6c203b363bbb395549b4e6cfa9d4 (#146732) (PR #147726)

2025-07-09 Thread via lldb-commits
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

[Lldb-commits] [clang] [lldb] [llvm] [bazel] Update after db7888ca9aef6c203b363bbb395549b4e6cfa9d4 (#146732) (PR #147726)

2025-07-09 Thread via lldb-commits
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

[Lldb-commits] [clang] [lldb] [llvm] [bazel] Update after db7888ca9aef6c203b363bbb395549b4e6cfa9d4 (#146732) (PR #147726)

2025-07-09 Thread via lldb-commits
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

[Lldb-commits] [lldb] [LLDB] Fix build after TargetInfo::adjust signature change (PR #147727)

2025-07-09 Thread via 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

[Lldb-commits] [lldb] [LLDB] Fix build after TargetInfo::adjust signature change (PR #147727)

2025-07-09 Thread Yaxun Liu via lldb-commits
https://github.com/yxsamliu created https://github.com/llvm/llvm-project/pull/147727 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 use

[Lldb-commits] [lldb] [LLDB] Fix build after TargetInfo::adjust signature change (PR #147727)

2025-07-09 Thread Michael Buch via 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

[Lldb-commits] [lldb] 92fbfc2 - [LLDB] Fix build after TargetInfo::adjust signature change (#147727)

2025-07-09 Thread via lldb-commits
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

[Lldb-commits] [lldb] [LLDB] Fix build after TargetInfo::adjust signature change (PR #147727)

2025-07-09 Thread via lldb-commits
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

[Lldb-commits] [lldb] [LLDB] Fix build after TargetInfo::adjust signature change (PR #147727)

2025-07-09 Thread Yaxun Liu via lldb-commits
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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::shared_ptr (PR #147575)

2025-07-09 Thread Michael Buch via lldb-commits
@@ -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

[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::shared_ptr (PR #147575)

2025-07-09 Thread Michael Buch via 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 -

[Lldb-commits] [lldb] Reland "[lldb][RPC] Upstream lldb-rpc-gen tool" (#146969) (PR #147417)

2025-07-09 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett approved this pull request. I guess you're emulating what the tool gets during the normal build so if it works it works. Let's find out what the bot thinks. https://github.com/llvm/llvm-project/pull/147417 ___ lldb-com

[Lldb-commits] [lldb] [lldb] Implement RISCV function unwinding using instruction emulation (PR #147434)

2025-07-09 Thread David Spickett via lldb-commits
DavidSpickett wrote: > Unfortunately there is no easy way to add testing for this. No RISCV hardware > at the disposal. I welcome the suggestions. Make a core file that does not include any internal data and then it can be tested on any system. If you have to satisfy internal policies around t

[Lldb-commits] [lldb] [llvm] [lldb] Support disassembling RISC-V proprietary instructions (PR #145793)

2025-07-09 Thread David Spickett via lldb-commits
@@ -0,0 +1,30 @@ +# REQUIRES: riscv + +# This test verifies that disassemble -b prints out the correct bytes and +# format for standard and unknown riscv instructions of various sizes, +# and that unknown instructions show opcodes and disassemble as "". +# It also tests that the f

[Lldb-commits] [lldb] [llvm] [lldb] Support disassembling RISC-V proprietary instructions (PR #145793)

2025-07-09 Thread David Spickett via lldb-commits
@@ -304,6 +304,9 @@ Changes to LLDB stop reason = SIGSEGV: sent by tkill system call (sender pid=649752, uid=2667987) ``` * ELF Cores can now have their siginfo structures inspected using `thread siginfo`. +* Changed invalid disassembly to say instead of being blank. +

[Lldb-commits] [lldb] [llvm] [lldb] Support disassembling RISC-V proprietary instructions (PR #145793)

2025-07-09 Thread David Spickett via lldb-commits
@@ -304,6 +304,9 @@ Changes to LLDB stop reason = SIGSEGV: sent by tkill system call (sender pid=649752, uid=2667987) ``` * ELF Cores can now have their siginfo structures inspected using `thread siginfo`. +* Changed invalid disassembly to say instead of being blank. -

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Michael Buch via 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

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Michael Buch via 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

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Michael Buch via lldb-commits
@@ -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(); -

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Michael Buch via 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

[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)

2025-07-09 Thread Michael Buch via lldb-commits
@@ -317,7 +317,8 @@ const char *SBBreakpointName::GetCondition() { std::lock_guard guard( m_impl_up->GetTarget()->GetAPIMutex()); - return ConstString(bp_name->GetOptions().GetConditionText()).GetCString(); + return ConstString(bp_name->GetOptions().GetCondition().Ge

  1   2   >