llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: None (cmtice)
Changes
This attempts to fix the issues with the original PR (#151605),
updating the DIL code for handling array subscripting to more closely match and
handle all the casees from the original 'frame var' implementation. The f
https://github.com/cmtice created
https://github.com/llvm/llvm-project/pull/154269
This attempts to fix the issues with the original PR (#151605), updating the
DIL code for handling array subscripting to more closely match and handle all
the casees from the original 'frame var' implementation.
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-x86_64-debian`
running on `lldb-x86_64-debian` while building `lldb` at step 6 "test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/162/builds/29212
Here is the relevant piece of the build log
anutosh491 wrote:
Thanks for the reviews. Merging !
https://github.com/llvm/llvm-project/pull/153560
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/anutosh491 closed
https://github.com/llvm/llvm-project/pull/153560
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Anutosh Bhat
Date: 2025-08-19T09:51:20+05:30
New Revision: 00ffd8b8aa4e8cd3a2fee654d55995918886e874
URL:
https://github.com/llvm/llvm-project/commit/00ffd8b8aa4e8cd3a2fee654d55995918886e874
DIFF:
https://github.com/llvm/llvm-project/commit/00ffd8b8aa4e8cd3a2fee654d55995918886e874.diff
https://github.com/anutosh491 updated
https://github.com/llvm/llvm-project/pull/153560
>From 6e7564602e7a5b608a4d1cd788e66425682e82db Mon Sep 17 00:00:00 2001
From: anutosh491
Date: Thu, 14 Aug 2025 14:25:05 +0530
Subject: [PATCH 1/3] Fix unknown error while starting lldb's C/C++ repl
---
lld
https://github.com/jasonmolenda edited
https://github.com/llvm/llvm-project/pull/153911
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/153911
>From 69ed12fb21bbdde89bf43b1356c5542912655318 Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Fri, 15 Aug 2025 18:23:10 -0700
Subject: [PATCH 1/8] [lldb] Add utility to create Mach-O corefile from YAML
Author: Jonas Devlieghere
Date: 2025-08-18T20:53:12Z
New Revision: d8208b0575c7fc03931b678b74acf9e7dedcea8e
URL:
https://github.com/llvm/llvm-project/commit/d8208b0575c7fc03931b678b74acf9e7dedcea8e
DIFF:
https://github.com/llvm/llvm-project/commit/d8208b0575c7fc03931b678b74acf9e7dedcea8e.diff
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Jonas Devlieghere (JDevlieghere)
Changes
Reverts llvm/llvm-project#153653 because older versions of macOS do not
use the same prefix.
---
Full diff: https://github.com/llvm/llvm-project/pull/154197.diff
1 Files Affected:
- (modified)
l
https://github.com/JDevlieghere auto_merge_enabled
https://github.com/llvm/llvm-project/pull/154197
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -0,0 +1,193 @@
+import * as vscode from "vscode";
+import { DebugProtocol } from "@vscode/debugprotocol";
+
+import { DebugSessionTracker } from "../debug-session-tracker";
+import { DisposableContext } from "../disposable-context";
+
+import { DAPSymbolType } from "..";
+impor
https://github.com/JDevlieghere approved this pull request.
LGTM, this looks useful!
https://github.com/llvm/llvm-project/pull/153984
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/walter-erquinigo edited
https://github.com/llvm/llvm-project/pull/153536
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -157,6 +157,61 @@ async function getDAPArguments(
.get("arguments", []);
}
+/**
+ * Retrieves the environment that will be provided to lldb-dap either from
settings or the provided
+ * {@link vscode.DebugConfiguration}.
+ *
+ * @param workspaceFolder The {@link vscode.
https://github.com/walter-erquinigo approved this pull request.
just a minor thing and then good to go
https://github.com/llvm/llvm-project/pull/153536
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/lis
https://github.com/JDevlieghere closed
https://github.com/llvm/llvm-project/pull/154040
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: LauraElanorJones
Date: 2025-08-18T12:47:14-05:00
New Revision: 350f4a3e3b0ebd9695f9c2194db5fd86ff551489
URL:
https://github.com/llvm/llvm-project/commit/350f4a3e3b0ebd9695f9c2194db5fd86ff551489
DIFF:
https://github.com/llvm/llvm-project/commit/350f4a3e3b0ebd9695f9c2194db5fd86ff551489.di
https://github.com/jimingham approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/153560
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/jimingham approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/153984
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -1054,7 +1054,48 @@ lldb::LanguageType
SymbolFileNativePDB::ParseLanguage(CompileUnit &comp_unit) {
return TranslateLanguage(item->m_compile_opts->getLanguage());
}
-void SymbolFileNativePDB::AddSymbols(Symtab &symtab) {}
+void SymbolFileNativePDB::AddSymbols(Symtab &sym
https://github.com/tgs-sc edited
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-commits
https://github.com/JDevlieghere updated
https://github.com/llvm/llvm-project/pull/153634
>From bfc57b337054bd1184b96baa1d59dd75a23a70c1 Mon Sep 17 00:00:00 2001
From: Jonas Devlieghere
Date: Thu, 14 Aug 2025 10:49:48 -0700
Subject: [PATCH 1/3] [lldb] Create sections fro Wasm segments
This is a
tgs-sc wrote:
> Also, please split out the clang change into a separate PR. The clang
> maintainers can comment there on whether that's a useful thing to have in
> place
Addressed. I am gonna make a PR to clang with adding assert as seeing backtrace
with 16k functions is not very nice.
https
https://github.com/tgs-sc updated
https://github.com/llvm/llvm-project/pull/154123
>From f19ba133d67af221c8ccba6d697d1b3cac88c943 Mon Sep 17 00:00:00 2001
From: Timur Golubovich
Date: Mon, 18 Aug 2025 17:29:01 +0300
Subject: [PATCH] [lldb][DWARFASTParserClang] Added a check for the
specializat
tgs-sc wrote:
> Hmm yea guarding against incorrect DWARF has been mostly best effort. Can you
> provide a test-case for this?
Sure. Originally this bug was discovered by debugging llc, but I minimized it
to such example:
--- b1.cc ---
```
#include
#include
struct Type {
Type() {
prin
Michael137 wrote:
Also, please split out the clang change into a separate PR. The clang
maintainers can comment on whether that's a useful thing to have in place
https://github.com/llvm/llvm-project/pull/154123
___
lldb-commits mailing list
lldb-commi
https://github.com/Nerixyz updated
https://github.com/llvm/llvm-project/pull/154121
>From 10b3535afc063552e7d05c8e8096570887a70397 Mon Sep 17 00:00:00 2001
From: Nerixyz
Date: Mon, 18 Aug 2025 15:56:45 +0200
Subject: [PATCH 1/2] [LLDB][NativePDB] Implement `AddSymbols`
---
.../NativePDB/Symbo
Michael137 wrote:
Hmm yea guarding against incorrect DWARF has been mostly best effort. Can you
provide a test-case for this?
https://github.com/llvm/llvm-project/pull/154123
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm
https://github.com/tgs-sc updated
https://github.com/llvm/llvm-project/pull/154123
>From 835700eed82545ac0c9fb33d82b3a46a3a8f8540 Mon Sep 17 00:00:00 2001
From: Timur Golubovich
Date: Mon, 18 Aug 2025 17:29:01 +0300
Subject: [PATCH] [clang][AST] Added assert to prevent infinite recursion
i
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (tgs-sc)
Changes
[lldb][DWARFASTParserClang] Added a check for the specialization existence
While debugging an application with incorrect dwarf information, where
DW_TAG_template_value_parameter was lost, I found that lldb
https://github.com/tgs-sc edited
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-commits
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
https://github.com/tgs-sc created
https://github.com/llvm/llvm-project/pull/154123
[lldb][DWARFASTParserClang] Added a check for the specialization existence
While debugging an application with incorrect dwarf information, where
DW_TAG_template_value_parameter were lost, I found tha
@@ -45,13 +47,129 @@ _LIBCPP_PUSH_MACROS
_LIBCPP_BEGIN_NAMESPACE_STD
-// __split_buffer allocates a contiguous chunk of memory and stores objects in
the range [__begin_, __end_).
-// It has uninitialized memory in the ranges [__first_, __begin_) and
[__end_, __cap_). That
@@ -428,50 +653,60 @@ _LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp,
_Allocator>::shrink_to_fi
}
}
-template
+template class
_Layout>
template
-_LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp,
_Allocator>::emplace_front(_Args&&... __args) {
- if (__begi
@@ -428,50 +653,60 @@ _LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp,
_Allocator>::shrink_to_fi
}
}
-template
+template class
_Layout>
template
-_LIBCPP_CONSTEXPR_SINCE_CXX20 void __split_buffer<_Tp,
_Allocator>::emplace_front(_Args&&... __args) {
- if (__begi
@@ -65,6 +183,146 @@ public:
using iterator = pointer;
using const_iterator = const_pointer;
+public: // TODO: make private after vector becomes size-based
+ pointer __first_ = nullptr;
+ pointer __begin_ = nullptr;
+ size_type __
https://github.com/ldionne edited
https://github.com/llvm/llvm-project/pull/139632
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -78,23 +336,18 @@ public:
__split_buffer,
void>;
- pointer __first_;
- pointer __begin_;
- pointer __end_;
- _LIBCPP_COMPRESSED_PAIR(pointer, __cap_, allocator_type, __alloc_);
-
__split_buffer(const __split_buffer&)
https://github.com/ldionne commented:
Thanks for addressing the comments. I think this makes the code easier to
follow in several places, modulo a few remaining comments.
Also, I see the LLDB data formatters failing and
`std/containers/sequences/deque/deque.cons/move_alloc.pass.cpp` also faili
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: nerix (Nerixyz)
Changes
This PR implements `SymbolFileNativePDB::AddSymbols` which adds public symbols
to the symbol table.
These symbols are found in the publics stream. It contains mangled names
coupled with addresses. Addresses are a p
https://github.com/Nerixyz created
https://github.com/llvm/llvm-project/pull/154121
This PR implements `SymbolFileNativePDB::AddSymbols` which adds public symbols
to the symbol table.
These symbols are found in the publics stream. It contains mangled names
coupled with addresses. Addresses ar
https://github.com/JDevlieghere approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/154040
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -258,36 +259,53 @@ void DAP::SendJSON(const llvm::json::Value &json) {
llvm::json::Path::Root root;
if (!fromJSON(json, message, root)) {
DAP_LOG_ERROR(log, root.getError(), "({1}) encoding failed: {0}",
- transport.GetClientName());
+
@@ -54,112 +50,226 @@ class TransportUnhandledContentsError
std::string m_unhandled_contents;
};
-class TransportInvalidError : public llvm::ErrorInfo {
+/// A transport is responsible for maintaining the connection to a client
+/// application, and reading/writing structure
@@ -57,53 +157,84 @@ template class JSONTransportTest : public
PipePairTest {
NativeFile::Unowned));
}
- template
- Expected
- RunOnce(std::chrono::milliseconds timeout = std::chrono::seconds(1)) {
-std::promise> promised_messag
@@ -28,22 +31,119 @@ using namespace lldb_private;
namespace {
-struct JSONTestType {
- std::string str;
+namespace test_protocol {
+
+struct Req {
+ std::string name;
};
+json::Value toJSON(const Req &T) { return json::Object{{"req", T.name}}; }
+bool fromJSON(const json:
@@ -54,112 +50,226 @@ class TransportUnhandledContentsError
std::string m_unhandled_contents;
};
-class TransportInvalidError : public llvm::ErrorInfo {
+/// A transport is responsible for maintaining the connection to a client
+/// application, and reading/writing structure
@@ -28,22 +31,119 @@ using namespace lldb_private;
namespace {
-struct JSONTestType {
- std::string str;
+namespace test_protocol {
+
+struct Req {
+ std::string name;
};
+json::Value toJSON(const Req &T) { return json::Object{{"req", T.name}}; }
+bool fromJSON(const json:
https://github.com/labath commented:
The main loop changes seem fine. Some other comments below. :)
https://github.com/llvm/llvm-project/pull/153121
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
https://github.com/labath edited
https://github.com/llvm/llvm-project/pull/153121
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
anutosh491 wrote:
> The code makes sense. It would be good to add to the repl test that you get
> this warning and not the previous bogus error.
Yes this makes sense to check the expected warning. Done
https://github.com/llvm/llvm-project/pull/153560
___
https://github.com/anutosh491 updated
https://github.com/llvm/llvm-project/pull/153560
>From 6e7564602e7a5b608a4d1cd788e66425682e82db Mon Sep 17 00:00:00 2001
From: anutosh491
Date: Thu, 14 Aug 2025 14:25:05 +0530
Subject: [PATCH 1/3] Fix unknown error while starting lldb's C/C++ repl
---
lld
https://github.com/anutosh491 updated
https://github.com/llvm/llvm-project/pull/153560
>From 6e7564602e7a5b608a4d1cd788e66425682e82db Mon Sep 17 00:00:00 2001
From: anutosh491
Date: Thu, 14 Aug 2025 14:25:05 +0530
Subject: [PATCH 1/3] Fix unknown error while starting lldb's C/C++ repl
---
lld
56 matches
Mail list logo