[Lldb-commits] [lldb] [vscode-lldb] Restart server when lldb-dap binary has changed (PR #159797)

2025-09-22 Thread Roy Shi via lldb-commits
https://github.com/royitaqi edited https://github.com/llvm/llvm-project/pull/159797 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB][PDB] Warn if DIA plugin is requested but not available (PR #160067)

2025-09-22 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/160067 >From 4dab54fd1d003e99ac0b1014b276f0c6d24f9de2 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Mon, 22 Sep 2025 12:32:08 +0200 Subject: [PATCH 1/4] [LLDB][PDB] Warn if DIA plugin is requested but not available --

[Lldb-commits] [lldb] [vscode-lldb] Restart server when lldb-dap binary has changed (PR #159797)

2025-09-22 Thread Roy Shi via lldb-commits
royitaqi wrote: @walter-erquinigo: Gentle ping. Since your last review, I have: - Used `chokidar`. - Rebased on latest main. - When both the lldb-dap binary and the arguments have changed, I made the dialog box show both changes (see the first screenshot in the patch's description). https://g

[Lldb-commits] [lldb] [lldb] Use APSInt's right shift operator in Scalar (PR #160149)

2025-09-22 Thread Ilia Kuklin via lldb-commits
https://github.com/kuilpd updated https://github.com/llvm/llvm-project/pull/160149 >From 085e848344f5772b3d1481c24ca6471fe45c9138 Mon Sep 17 00:00:00 2001 From: Ilia Kuklin Date: Mon, 22 Sep 2025 20:05:57 +0500 Subject: [PATCH 1/2] [lldb] Use APSInt's right shift operator in Scalar --- lldb/s

[Lldb-commits] [lldb] [lldb] Use APSInt's right shift operator in Scalar (PR #160149)

2025-09-22 Thread Michael Buch via lldb-commits
@@ -118,11 +118,14 @@ TEST(ScalarTest, RightShiftOperator) { int a = 0x1000; int b = 0x; int c = 4; + unsigned d = 0x; Scalar a_scalar(a); Scalar b_scalar(b); Scalar c_scalar(c); + Scalar d_scalar(d); ASSERT_EQ(a >> c, a_scalar >> c_scala

[Lldb-commits] [lldb] [lldb] Use APSInt's right shift operator in Scalar (PR #160149)

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

[Lldb-commits] [lldb] [cmake][lldb][test] Respect LIBCXX_LIBDIR_SUBDIR (PR #159106)

2025-09-22 Thread Raul Tambre via lldb-commits
https://github.com/tambry edited https://github.com/llvm/llvm-project/pull/159106 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Use APSInt's right shift operator in Scalar (PR #160149)

2025-09-22 Thread Ilia Kuklin via lldb-commits
https://github.com/kuilpd created https://github.com/llvm/llvm-project/pull/160149 Right shift operator in `Scalar` didn't check if the value is unsigned to perform a logical right shift. Use the right shift operator from `APSInt` that does this check. >From 085e848344f5772b3d1481c24ca6471fe4

[Lldb-commits] [lldb] [lldb] Use APSInt's right shift operator in Scalar (PR #160149)

2025-09-22 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Ilia Kuklin (kuilpd) Changes Right shift operator in `Scalar` didn't check if the value is unsigned to perform a logical right shift. Use the right shift operator from `APSInt` that does this check. --- Full diff: https://github.com/llvm/

[Lldb-commits] [lldb] [LLDB][PDB] Warn if DIA plugin is requested but not available (PR #160067)

2025-09-22 Thread Michael Buch via lldb-commits
@@ -0,0 +1,65 @@ +// REQUIRES: !diasdk, target-windows + +// Test plugin.symbol-file.pdb.reader setting without the DIA SDK +// RUN: %build -o %t.exe -- %s +// RUN: env -u LLDB_USE_NATIVE_PDB_READER %lldb %t.exe -o 'target modules dump symfile' 2>&1 | FileCheck --check-prefix=NO-

[Lldb-commits] [lldb] [LLDB][PDB] Warn if DIA plugin is requested but not available (PR #160067)

2025-09-22 Thread Michael Buch via lldb-commits
@@ -136,6 +141,21 @@ class PluginProperties : public Properties { bool UseNativeReader() const { #if LLVM_ENABLE_DIA_SDK && defined(_WIN32) +return IsNativeReaderRequested(); +#else +if (!IsNativeReaderRequested()) { + static std::once_flag g_warning_shown; +

[Lldb-commits] [lldb] cbfa5c8 - [lldb][ClangExpressionParser] Reset DiagnosticManager before we create persistent variables (#160074)

2025-09-22 Thread via lldb-commits
Author: Michael Buch Date: 2025-09-22T17:24:15+01:00 New Revision: cbfa5c84f9423b94d499de7995c0f0eeff066c93 URL: https://github.com/llvm/llvm-project/commit/cbfa5c84f9423b94d499de7995c0f0eeff066c93 DIFF: https://github.com/llvm/llvm-project/commit/cbfa5c84f9423b94d499de7995c0f0eeff066c93.diff

[Lldb-commits] [lldb] [lldb][ClangExpressionParser] Reset DiagnosticManager before we create persistent variables (PR #160074)

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

[Lldb-commits] [lldb] [lldb][ClangExpressionParser] Reset DiagnosticManager before we create persistent variables (PR #160074)

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

[Lldb-commits] [lldb] DRAFT: [lldb][DWARFASTParserClang] Remove old workaround (PR #160132)

2025-09-22 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/160132 >From 6293105c42e29cc9151eaac33a4208a91e40a0e9 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 22 Sep 2025 16:02:35 +0100 Subject: [PATCH 1/4] Init --- .../SymbolFile/DWARF/DWARFASTParserClang.cpp |

[Lldb-commits] [lldb] DRAFT: [lldb][DWARFASTParserClang] Remove old workaround (PR #160132)

2025-09-22 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/160132 >From 6293105c42e29cc9151eaac33a4208a91e40a0e9 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 22 Sep 2025 16:02:35 +0100 Subject: [PATCH 1/2] Init --- .../SymbolFile/DWARF/DWARFASTParserClang.cpp |

[Lldb-commits] [lldb] DRAFT: [lldb][DWARFASTParserClang] Remove old workaround (PR #160132)

2025-09-22 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/160132 None >From 6293105c42e29cc9151eaac33a4208a91e40a0e9 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 22 Sep 2025 16:02:35 +0100 Subject: [PATCH] Init --- .../SymbolFile/DWARF/DWARFASTParserClang.cpp

[Lldb-commits] [lldb] Reland #158161 with cmake fix (PR #159842)

2025-09-22 Thread satyanarayana reddy janga via lldb-commits
https://github.com/satyajanga approved this pull request. Looks good to me ! https://github.com/llvm/llvm-project/pull/159842 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Reland #158161 with cmake fix (PR #159842)

2025-09-22 Thread satyanarayana reddy janga via lldb-commits
https://github.com/satyajanga closed https://github.com/llvm/llvm-project/pull/159842 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Fix a bug where an error was emitted for GCC union types. (PR #159401)

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

[Lldb-commits] [lldb] [LLDB][PDB] Run UDT layout test with native PDB too (PR #159769)

2025-09-22 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/159769 >From d2c6336279358e570dcdc4e4a1ce75baf0a048ee Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Mon, 22 Sep 2025 11:57:34 +0200 Subject: [PATCH] [LLDB][PDB] Run UDT layout test with native PDB too --- .../SymbolFi

[Lldb-commits] [lldb] Fix a bug where an error was emitted for GCC union types. (PR #159401)

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

[Lldb-commits] [lldb] [LLDB][PDB] Warn if DIA plugin is requested but not available (PR #160067)

2025-09-22 Thread Michael Buch via lldb-commits
@@ -117,11 +117,16 @@ bool ShouldUseNativeReaderByDefault() { !env_value.equals_insensitive("1") && !env_value.equals_insensitive("true")) g_use_native_by_default = false; + +#if !LLVM_ENABLE_DIA_SDK || !defined(_WIN32) +// if the environment value is

[Lldb-commits] [lldb] [lldb][ClangExpressionParser] Reset DiagnosticManager before we creat… (PR #160074)

2025-09-22 Thread Michael Buch via lldb-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/160074 …e persistent variables Here's an example crash that we've seen sporadically over the years: ``` 0 libsystem_kernel.dylib 0x19d392388 __pthread_kill + 8 1 libsystem_pthread.dylib

[Lldb-commits] [lldb] [LLDB][PDB] Warn if DIA plugin is requested but not available (PR #160067)

2025-09-22 Thread via lldb-commits
https://github.com/Nerixyz updated https://github.com/llvm/llvm-project/pull/160067 >From 4dab54fd1d003e99ac0b1014b276f0c6d24f9de2 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Mon, 22 Sep 2025 12:32:08 +0200 Subject: [PATCH 1/2] [LLDB][PDB] Warn if DIA plugin is requested but not available --

[Lldb-commits] [lldb] [lldb][ClangExpressionParser] Reset DiagnosticManager before we create persistent variables (PR #160074)

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

[Lldb-commits] [lldb] [lldb][ClangExpressionParser] Reset DiagnosticManager before we create persistent variables (PR #160074)

2025-09-22 Thread Michael Buch via lldb-commits
Michael137 wrote: The `m_passthrough` guard was added in https://github.com/llvm/llvm-project/commit/4e969da33e113dffc1dfcf5c5e3ef97e3b594161 I assume something got refactored since then that broke it again. Or maybe it was fixing a different codepath leading to this crash https://github.com/

[Lldb-commits] [lldb] [LLDB][PDB] Warn if DIA plugin is requested but not available (PR #160067)

2025-09-22 Thread via lldb-commits
https://github.com/Nerixyz created https://github.com/llvm/llvm-project/pull/160067 If LLDB was built without the DIA SDK and the DIA reader is explicitly requested (through `LLDB_USE_NATIVE_PDB_READER=0` or `settings set plugin.symbol-file.pdb.reader dia`), LLDB should print a warning, becaus

[Lldb-commits] [lldb] [lldb] Introduce Process::FixAnyAddressPreservingAuthentication (PR #159785)

2025-09-22 Thread David Spickett via lldb-commits
DavidSpickett wrote: > In a very ideal world, I would love if we could not strip anything, ever. But > this places some burden on codegen of the expression evaluator, for all > languages and all ABIs. I don't think it's doable right now. Yes we're getting into a pointers as capabilities sort o

[Lldb-commits] [lldb] [LLDB][PDB] Run UDT layout test with native PDB too (PR #159769)

2025-09-22 Thread via lldb-commits
@@ -1,51 +1,63 @@ REQUIRES: target-windows, lld RUN: %build --compiler=clang-cl --output=%t.exe %S/Inputs/UdtLayoutTest.cpp -RUN: %lldb -b -s %S/Inputs/UdtLayoutTest.script -- %t.exe | FileCheck %s +RUN: env LLDB_USE_NATIVE_PDB_READER=0 %lldb -b -s %S/Inputs/UdtLayoutTest.scrip

[Lldb-commits] [lldb] [LLDB][PDB] Run UDT layout test with native PDB too (PR #159769)

2025-09-22 Thread Michael Buch via lldb-commits
@@ -1,51 +1,63 @@ REQUIRES: target-windows, lld RUN: %build --compiler=clang-cl --output=%t.exe %S/Inputs/UdtLayoutTest.cpp -RUN: %lldb -b -s %S/Inputs/UdtLayoutTest.script -- %t.exe | FileCheck %s +RUN: env LLDB_USE_NATIVE_PDB_READER=0 %lldb -b -s %S/Inputs/UdtLayoutTest.scrip

[Lldb-commits] [lldb] [LLDB][PDB] Run UDT layout test with native PDB too (PR #159769)

2025-09-22 Thread via lldb-commits
@@ -1,51 +1,63 @@ REQUIRES: target-windows, lld RUN: %build --compiler=clang-cl --output=%t.exe %S/Inputs/UdtLayoutTest.cpp -RUN: %lldb -b -s %S/Inputs/UdtLayoutTest.script -- %t.exe | FileCheck %s +RUN: env LLDB_USE_NATIVE_PDB_READER=0 %lldb -b -s %S/Inputs/UdtLayoutTest.scrip

[Lldb-commits] [lldb] Fix a bug where an error was emitted for GCC union types. (PR #159401)

2025-09-22 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. Do you have a C++ example snippet of how this happens? https://github.com/llvm/llvm-project/pull/159401 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/m

[Lldb-commits] [lldb] [lldb][test] Enable non-address bit WritePointerToMemory test on Linux (PR #157435)

2025-09-21 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: David Spickett (DavidSpickett) Changes First added in #153585 for Darwin only. All Linux AArch64 systems also have Top Byte Ignore enabled in userspace so the test "just works" there. FreeBSD has very recently gained Top Byte Ignore suppor

[Lldb-commits] [lldb] [lldb] Fix unordered-map data formatter for const types (PR #156033)

2025-09-20 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper updated https://github.com/llvm/llvm-project/pull/156033 >From 09ad3b0137c3939a76e91409e8194215c1cd94a1 Mon Sep 17 00:00:00 2001 From: Ebuka Ezike Date: Fri, 29 Aug 2025 15:17:29 +0100 Subject: [PATCH 1/2] [lldb] fix std::unordered_map formatter for const types. the

[Lldb-commits] [lldb] [LLDB] Fix GetIndexOfChildMemberWithName to handle anonymous struct in base classes (PR #158256)

2025-09-20 Thread via lldb-commits
https://github.com/imkiva created https://github.com/llvm/llvm-project/pull/158256 Fixes https://github.com/llvm/llvm-project/issues/158131 Similar to https://github.com/llvm/llvm-project/pull/138487 but also search for child indices in the base classes. >From 8e00d31ce15eb3255c7bafe924754752

[Lldb-commits] [lldb] [LLDB][ProcessWindows] Set exit status on instance rather than going through all targets (PR #159308)

2025-09-20 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: nerix (Nerixyz) Changes When quitting LLDB on Windows while a process was still running, LLDB would take unusually long to exit. This was due to a temporary deadlock: The main thread was destroying the processes. In doing so, it iterated o

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

2025-09-20 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper updated https://github.com/llvm/llvm-project/pull/156033 >From 09ad3b0137c3939a76e91409e8194215c1cd94a1 Mon Sep 17 00:00:00 2001 From: Ebuka Ezike Date: Fri, 29 Aug 2025 15:17:29 +0100 Subject: [PATCH 1/2] [lldb] fix std::unordered_map formatter for const types. the

[Lldb-commits] [lldb] [llvm] [ELF][LLDB] Add an nvsass triple (PR #159459)

2025-09-20 Thread Walter Erquinigo via lldb-commits
walter-erquinigo wrote: I see. Thanks! I'll think more about this next week https://github.com/llvm/llvm-project/pull/159459 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [llvm] [ELF][LLDB] Add an nvsass triple (PR #159459)

2025-09-20 Thread Joseph Huber via lldb-commits
jhuber6 wrote: > @jhuber6 , something I care about for LLDB is being able to use different > disassemblers for ptx and sass. The unique situation here is that sass is not > part of LLVM code generation, and it seems that's why LLVM is unaware of > sass. LLVM can only generate ptx and folks rel

[Lldb-commits] [lldb] [llvm] [ELF][LLDB] Add an nvsass triple (PR #159459)

2025-09-20 Thread Walter Erquinigo via lldb-commits
walter-erquinigo wrote: @jhuber6 , something I care about for LLDB is being able to use different disassemblers for ptx and sass. The unique situation here is that sass is not part of LLVM code generation, and it seems that's why LLVM is unaware of sass. LLVM can only generate ptx and folks re

[Lldb-commits] [lldb] [llvm] [ELF][LLDB] Add an nvsass triple (PR #159459)

2025-09-20 Thread Joseph Huber via lldb-commits
jhuber6 wrote: > Interesting. Thanks for the feedback and thanks for reverting this change. If you can make a PR for just the lldb stuff I can review it. I appreciate NVIDIA trying to upstream more support, so I'm not trying to dissuade you. https://github.com/llvm/llvm-project/pull/159459 ___

[Lldb-commits] [lldb] [llvm] [ELF][LLDB] Add an nvsass triple (PR #159459)

2025-09-20 Thread Walter Erquinigo via lldb-commits
walter-erquinigo wrote: Interesting. Thanks for the feedback. I'll revert this change. https://github.com/llvm/llvm-project/pull/159459 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commi

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Added a check for the specialization existence (PR #154123)

2025-09-20 Thread via lldb-commits
tgs-sc wrote: @Michael137, probably we should return finding and adding specialization in DWARFASTParserClang.cpp? https://github.com/llvm/llvm-project/pull/154123 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bi

[Lldb-commits] [lldb] 3e57a0d - [lldb][MachO] Local structs for larger VA offsets (#159849)

2025-09-20 Thread via lldb-commits
Author: Jason Molenda Date: 2025-09-19T19:53:26-07:00 New Revision: 3e57a0d01c90c09b1e40d8edfe48f8e5a63e2de6 URL: https://github.com/llvm/llvm-project/commit/3e57a0d01c90c09b1e40d8edfe48f8e5a63e2de6 DIFF: https://github.com/llvm/llvm-project/commit/3e57a0d01c90c09b1e40d8edfe48f8e5a63e2de6.diff

[Lldb-commits] [lldb] [lldb][test] Re-enable import-std-module tests on Linux (PR #157649)

2025-09-20 Thread via lldb-commits
gulfemsavrun wrote: I've tested this PR on our LLDB builders and confirmed that the segmentation fault from issue [#137046](https://github.com/llvm/llvm-project/issues/137046) is no longer present. See the builder results here: https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci.shadow/

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Added a check for the specialization existence (PR #154123)

2025-09-20 Thread via lldb-commits
@@ -959,6 +959,9 @@ CompilerType TypeSystemClang::GetBuiltinTypeForDWARFEncodingAndBitSize( if (type_name == "long double" && QualTypeMatchesBitSize(bit_size, ast, ast.LongDoubleTy)) return GetType(ast.LongDoubleTy); +if (type_name == "__bf16" &&

[Lldb-commits] [lldb] 693146d - [lldb][yaml2macho-core] Address bug when run on Windows

2025-09-20 Thread Jason Molenda via lldb-commits
Author: Jason Molenda Date: 2025-09-08T10:37:16-07:00 New Revision: 693146dcc0a1d653827cc88993acf52428af1a94 URL: https://github.com/llvm/llvm-project/commit/693146dcc0a1d653827cc88993acf52428af1a94 DIFF: https://github.com/llvm/llvm-project/commit/693146dcc0a1d653827cc88993acf52428af1a94.diff

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

2025-09-20 Thread Roy Shi via lldb-commits
https://github.com/royitaqi edited https://github.com/llvm/llvm-project/pull/156803 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Added a check for the specialization existence (PR #154123)

2025-09-20 Thread via lldb-commits
@@ -0,0 +1,675 @@ +# struct Type {}; +# +# template struct _Optional_payload; +# +# template struct _Optional_payload<_Tp, true, false, false> {}; +# +# template +# struct _Optional_payload<_Tp, false, _Copy, _Move> +# : _Optional_payload<_Tp, true, false, false> {}; +#

[Lldb-commits] [lldb] [lldb][test] Enable non-address bit WritePointerToMemory test on Linux (PR #157435)

2025-09-20 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/157435 First added in #153585 for Darwin only. All Linux AArch64 systems also have Top Byte Ignore enabled in userspace so the test "just works" there. FreeBSD has very recently gained Top Byte Ignore support:

[Lldb-commits] [lldb] [lldb-mcp] Auto connect to the first running lldb mcp instance. (PR #157503)

2025-09-20 Thread John Harrison via lldb-commits
https://github.com/ashgti updated https://github.com/llvm/llvm-project/pull/157503 >From ec45d323014b15ce7a960fc519ef3782820a44d2 Mon Sep 17 00:00:00 2001 From: John Harrison Date: Mon, 8 Sep 2025 09:05:15 -0700 Subject: [PATCH 1/2] [lldb-mcp] Auto connect to the first running lldb mcp instanc

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

2025-09-20 Thread Ebuka Ezike via lldb-commits
https://github.com/da-viper updated https://github.com/llvm/llvm-project/pull/156033 >From 134d45f372d7ac528f14899b0041add13269774d Mon Sep 17 00:00:00 2001 From: Ebuka Ezike Date: Fri, 29 Aug 2025 15:17:29 +0100 Subject: [PATCH 1/2] [lldb][test] Fix unordered-map test. test was failing becaus

[Lldb-commits] [lldb] [LLDB][NativePDB] Mark blocks as parsed after parsing (PR #157493)

2025-09-20 Thread via lldb-commits
https://github.com/Nerixyz closed https://github.com/llvm/llvm-project/pull/157493 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][test] Re-enable `TestRerunAndExprDylib.py` (PR #157872)

2025-09-20 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Ebuka Ezike (da-viper) Changes the `skipTestIfFn` requires a function that return a string to skip or None to run the test. The `isUbuntu18_04` function returns a bool and the test is skipped on all platforms. https://github.com/llvm/llv

[Lldb-commits] [lldb] Revert "RISCV unwinding enable" (PR #159790)

2025-09-20 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett closed https://github.com/llvm/llvm-project/pull/159790 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] refactor watchpoint functionality (PR #159807)

2025-09-20 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: Thank you for breaking this change up into smaller patches, that's always a good idea and will certainly help with reviewing. Given that this is a significant new feature, could you please start an RFC on [Discourse](https://discourse.llvm.org/c/subprojects/lldb/8)? We had

[Lldb-commits] [lldb] [lldb-dap] Add stdio redirection (PR #158609)

2025-09-20 Thread Walter Erquinigo via lldb-commits
@@ -237,6 +237,7 @@ contain the following key/value pairs: | **stopOnEntry** | boolean | | Whether to stop program immediately after launching. | **runInTerminal** (deprecated)| boolean | | Launch the program inside an integrated terminal

[Lldb-commits] [lldb] RISCV unwinding enable (PR #158161)

2025-09-20 Thread Greg Clayton via lldb-commits
@@ -230,10 +242,34 @@ Load(EmulateInstructionRISCV &emulator, I inst, uint64_t (*extend)(E)) { auto addr = LoadStoreAddr(emulator, inst); if (!addr) return false; - return transformOptional( - emulator.ReadMem(*addr), - [&](T t) { return inst.r

[Lldb-commits] [lldb] [lldb] Recognize MTE fault Mach exceptions (PR #159117)

2025-09-20 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/159117 Recognize an MTE tag fault Mach exception. A tag fault is an error reported by Arm's Memory Tagging Extension (MTE) when a memory access attempts to use a pointer with a tag that doesn't match the tag stor

[Lldb-commits] [lldb] Fixing makefile issue to include riscv emulation test only when RISCV is present. (PR #159842)

2025-09-20 Thread via lldb-commits
https://github.com/barsolo2000 created https://github.com/llvm/llvm-project/pull/159842 None >From af1a938bb9f5b83c9b6caed82e0a68bdebab7550 Mon Sep 17 00:00:00 2001 From: Bar Soloveychik Date: Fri, 19 Sep 2025 13:02:57 -0700 Subject: [PATCH 1/2] Reapply "RISCV unwinding enable" (#159790) This

[Lldb-commits] [lldb] [lldb-mcp] Launch lldb on demand, if needed. (PR #158701)

2025-09-20 Thread John Harrison via lldb-commits
https://github.com/ashgti closed https://github.com/llvm/llvm-project/pull/158701 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [LLDB] Add unary plus and minus to DIL (PR #155617)

2025-09-20 Thread Ilia Kuklin via lldb-commits
kuilpd wrote: > Do we ever want to support - in the DIL - something like: > > swift_integer = c_integer + rust_integer > > We do know how to do that (variations on the details of integer promotion and > the like aside) and given these are data objects we can query for their > integer values i

[Lldb-commits] [lldb] [LLDB] Add unary plus and minus to DIL (PR #155617)

2025-09-20 Thread Ilia Kuklin via lldb-commits
https://github.com/kuilpd updated https://github.com/llvm/llvm-project/pull/155617 >From 4d14bbb31d0411c45b95778d1659ccc416165be1 Mon Sep 17 00:00:00 2001 From: Ilia Kuklin Date: Mon, 4 Aug 2025 19:11:55 +0500 Subject: [PATCH 1/8] [LLDB] Add unary plus and minus to DIL --- lldb/include/lldb/V

[Lldb-commits] [lldb] [lldb][test] Enable non-address bit WritePointerToMemory test on Linux (PR #157435)

2025-09-20 Thread via lldb-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r origin/main...HEAD lldb/test/API/pointer-nonaddressable-bits/TestArmPointerMetadataStrippi

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Added a check for the specialization existence (PR #154123)

2025-09-20 Thread Michael Buch via lldb-commits
@@ -1676,6 +1676,14 @@ TypeSystemClang::CreateClassTemplateSpecializationDecl( class_template_specialization_decl->setInstantiationOf(class_template_decl); class_template_specialization_decl->setTemplateArgs( TemplateArgumentList::CreateCopy(ast, args)); + void *Inse

[Lldb-commits] [lldb] [lldb] Adding A new Binding helper for JSONTransport. (PR #159160)

2025-09-20 Thread John Harrison via lldb-commits
@@ -50,17 +56,88 @@ class TransportUnhandledContentsError std::string m_unhandled_contents; }; +class InvalidParams : public llvm::ErrorInfo { +public: + static char ID; + + explicit InvalidParams(std::string method, std::string context) + : m_method(std::move(method)

[Lldb-commits] [lldb] [lldb-dap] Add invalidated event (PR #157530)

2025-09-20 Thread Druzhkov Sergei via lldb-commits
https://github.com/DrSergei created https://github.com/llvm/llvm-project/pull/157530 This patch fixes the problem, when after a `setVariable` request pointers and references to the variable are not updated. VSCode doesn't send a `variables` request after a `setVariable` request, so we should t

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

2025-09-20 Thread David Spickett via lldb-commits
DavidSpickett wrote: s390x is the other big endian target, I have no idea what its vectors do. https://github.com/llvm/llvm-project/pull/155000 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/ll

[Lldb-commits] [lldb] [lldb][test] Disable a procfile test when threading is not enabled (PR #159559)

2025-09-20 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/159559 As is done for other procfile tests. >From 959edbe1add44159d473602d4151cf533cac4050 Mon Sep 17 00:00:00 2001 From: David Spickett Date: Thu, 18 Sep 2025 12:51:55 +0100 Subject: [PATCH] [lldb][test] Disabl

[Lldb-commits] [lldb] [lldb] Fix unsafe map mutation in ProcessElfCore::FindModuleUUID (PR #159444)

2025-09-20 Thread David Spickett via lldb-commits
DavidSpickett wrote: The tests are stable on 32-bit Arm with this applied. https://github.com/llvm/llvm-project/pull/159444 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Added a check for the specialization existence (PR #154123)

2025-09-20 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. LGTM (module remaining comments) https://github.com/llvm/llvm-project/pull/154123 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-c

[Lldb-commits] [lldb] [lldb][LoongArch] Preserve temporary symbols starting with `.L` in lldb symbol table (PR #158551)

2025-09-20 Thread David Spickett via lldb-commits
DavidSpickett wrote: I assume this is fallout from https://discourse.llvm.org/t/rfc-should-we-omit-local-symbols-in-elf-files-from-the-lldb-symbol-table/87384. Which I have no context for but I'll add some of those folks on review. https://github.com/llvm/llvm-project/pull/158551 _

[Lldb-commits] [lldb] Fixing makefile issue to include riscv emulation test only when RISCV is present. (PR #159842)

2025-09-20 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v @llvm/pr-subscribers-lldb Author: None (barsolo2000) Changes Initial PR was reverted due failing test since the buildbots don't include RISCV. --- Full diff: https://github.com/llvm/llvm-project/pull/159842.diff 5 Files Affected: - (

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

2025-09-20 Thread Roy Shi via lldb-commits
https://github.com/royitaqi edited https://github.com/llvm/llvm-project/pull/156803 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2025-09-20 Thread Michael Buch via lldb-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/133079 >From 8f3f629b3913a5402a87786c4e1387d880d83f11 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Wed, 26 Mar 2025 12:54:36 + Subject: [PATCH] [lldb][Instrumentation] Set selected frame to outside sanitiz

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

2025-09-20 Thread Michael Buch via lldb-commits
Michael137 wrote: /cherry-pick 39572f5e9168b1b44c2f9078494616fed8752086 879f40ab041b31fa73b9b25e4ec9e06e810bc767 bdf645bb9b509b60bdb6a71d865b4f8999187977 5326b3b176e82191b18ffc368118b36e0103af3d https://github.com/llvm/llvm-project/pull/133079 ___ l

[Lldb-commits] [lldb] [lldb] Unwind through ARM Cortex-M exceptions automatically (PR #153922)

2025-09-20 Thread David Spickett via lldb-commits
@@ -293,6 +293,9 @@ void RegisterContextUnwind::InitializeZerothFrame() { return; } + // Give the Architecture a chance to replace the UnwindPlan. + AdoptArchitectureUnwindPlan(); DavidSpickett wrote: Thanks for explaining. https://github.com/llvm/ll

[Lldb-commits] [lldb] [lldb][lldb-dap] Disable all lldb-dap tests on Windows on Arm (PR #159542)

2025-09-20 Thread David Spickett via lldb-commits
https://github.com/DavidSpickett closed https://github.com/llvm/llvm-project/pull/159542 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Fixing makefile issue to include riscv emulation test only when RISCV is present. (PR #159842)

2025-09-20 Thread via lldb-commits
https://github.com/barsolo2000 edited https://github.com/llvm/llvm-project/pull/159842 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [clang-tools-extra] [compiler-rt] [flang] [libcxx] [libcxxabi] [lld] [lldb] [llvm] [Inclusive Language] migrate "sanity" checks to "soundness" checks (PR #156995)

2025-09-20 Thread Mehdi Amini via lldb-commits
joker-eph wrote: > I don't buy that argument at all. "Sound" has plenty of uses. It does not > imply "sound of mind". The argument, I believe, is that **when you can replace "sanity" with 'sound'**, then sound is used a "sound of mind", and in other context you shouldn't use sound at it does

[Lldb-commits] [lldb] [lldb] Change directory creation logic in framework-header-fix (PR #158355)

2025-09-20 Thread Jonas Devlieghere via lldb-commits
JDevlieghere wrote: Why don't we ensure the build system creates the directory instead? https://github.com/llvm/llvm-project/pull/158355 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-comm

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Added a check for the specialization existence (PR #154123)

2025-09-20 Thread via lldb-commits
@@ -1676,6 +1676,13 @@ TypeSystemClang::CreateClassTemplateSpecializationDecl( class_template_specialization_decl->setInstantiationOf(class_template_decl); class_template_specialization_decl->setTemplateArgs( TemplateArgumentList::CreateCopy(ast, args)); + // Special

[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Added a check for the specialization existence (PR #154123)

2025-09-20 Thread Michael Buch via lldb-commits
@@ -959,6 +959,9 @@ CompilerType TypeSystemClang::GetBuiltinTypeForDWARFEncodingAndBitSize( if (type_name == "long double" && QualTypeMatchesBitSize(bit_size, ast, ast.LongDoubleTy)) return GetType(ast.LongDoubleTy); +if (type_name == "__bf16" &&

[Lldb-commits] [lldb] [LLDB][NVIDIA] Add NVPTX architecture support (PR #158334)

2025-09-20 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo closed https://github.com/llvm/llvm-project/pull/158334 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 757bb36 - [lldb][test] Disable a test from TestDAP_cancel.py on Windows

2025-09-20 Thread David Spickett via lldb-commits
Author: David Spickett Date: 2025-09-15T08:48:04Z New Revision: 757bb36a58c7d7151a28c6a5fc7caa2e1f44de87 URL: https://github.com/llvm/llvm-project/commit/757bb36a58c7d7151a28c6a5fc7caa2e1f44de87 DIFF: https://github.com/llvm/llvm-project/commit/757bb36a58c7d7151a28c6a5fc7caa2e1f44de87.diff LOG

[Lldb-commits] [lldb] [vscode-lldb] Restart server when the lldb-dap binary's modification time has changed (PR #159481)

2025-09-20 Thread Roy Shi via lldb-commits
https://github.com/royitaqi edited https://github.com/llvm/llvm-project/pull/159481 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2025-09-20 Thread LLVM Continuous Integration via lldb-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux` running on `sanitizer-buildbot8` while building `clang,lldb` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/51/builds/23865 Here is the relevant piece

[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

2025-09-20 Thread Med Ismail Bennani via lldb-commits
https://github.com/medismailben deleted https://github.com/llvm/llvm-project/pull/158128 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

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

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

2025-09-20 Thread via lldb-commits
Author: Michael Buch Date: 2025-09-20T18:30:18+01:00 New Revision: 012680faf4c63a9bd432aa92fa0da97981793ac3 URL: https://github.com/llvm/llvm-project/commit/012680faf4c63a9bd432aa92fa0da97981793ac3 DIFF: https://github.com/llvm/llvm-project/commit/012680faf4c63a9bd432aa92fa0da97981793ac3.diff

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

2025-09-20 Thread Corentin Jabot via lldb-commits
@@ -2544,6 +2544,19 @@ Stmt *BlockExpr::getBody() { //===--===// // Generic Expression Routines //===--===// +namespace { +/// Helper to det

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

2025-09-20 Thread Corentin Jabot via lldb-commits
https://github.com/cor3ntin edited https://github.com/llvm/llvm-project/pull/122265 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] Fix GetDIE is outside of its CU error from .debug_names (PR #157574)

2025-09-20 Thread via lldb-commits
https://github.com/jeffreytan81 edited https://github.com/llvm/llvm-project/pull/157574 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Recognize MTE fault Mach exceptions (PR #159117)

2025-09-20 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Jonas Devlieghere (JDevlieghere) Changes Recognize an MTE tag fault Mach exception. A tag fault is an error reported by Arm's Memory Tagging Extension (MTE) when a memory access attempts to use a pointer with a tag that doesn't match the t

[Lldb-commits] [lldb] [LLDB] Fix 64 bit support for CIE and FDE handling in DWARFCallFrameInfo (PR #158350)

2025-09-20 Thread Andrew Gontarek via lldb-commits
https://github.com/agontarek updated https://github.com/llvm/llvm-project/pull/158350 >From a5db208cd21b45ba0c2dc7816fcab6b85bc9cc41 Mon Sep 17 00:00:00 2001 From: Andrew Gontarek Date: Wed, 10 Sep 2025 12:53:21 -0500 Subject: [PATCH 1/2] [LLDB] Refactor CIE and FDE handling in DWARFCallFrameI

[Lldb-commits] [lldb] [lldb] Recognize MTE fault Mach exceptions (PR #159117)

2025-09-20 Thread David Spickett via lldb-commits
DavidSpickett wrote: Also you'd probably save a bunch of time by doing one giant test that checks all the little MTE additions in one go, maybe that is in fact your plan. https://github.com/llvm/llvm-project/pull/159117 ___ lldb-commits mailing list l

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

2025-09-20 Thread Michael Buch via lldb-commits
https://github.com/Michael137 closed 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] [lldb] [lldb][DWARFASTParserClang] Added a check for the specialization existence (PR #154123)

2025-09-20 Thread Michael Buch via lldb-commits
@@ -599,6 +599,39 @@ TEST_F(DWARFASTParserClangTests, TestDefaultTemplateParamParsing) { } } +TEST_F(DWARFASTParserClangTests, TestSpecDeclExistsError) { + // Tests checking error if ClassTemplateSpecializationDecl already exists. Michael137 wrote: ```sug

[Lldb-commits] [lldb] [LLDB][NativePDB] Mark blocks as parsed after parsing (PR #157493)

2025-09-20 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: nerix (Nerixyz) Changes After parsing blocks in a function, the blocks should be marked as parsed for them to be dumped (see [Function::Dump](https://github.com/llvm/llvm-project/blob/e6aefbec782dbb57f72eb0ae399ed944fe49db2e/lldb/source/Sy

  1   2   3   4   5   6   7   8   9   10   >