https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/146115
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Kazu Hirata
Date: 2025-06-27T14:26:32-07:00
New Revision: 9f5061d4f00456d882db9eb606f4a82b2c40e7a8
URL:
https://github.com/llvm/llvm-project/commit/9f5061d4f00456d882db9eb606f4a82b2c40e7a8
DIFF:
https://github.com/llvm/llvm-project/commit/9f5061d4f00456d882db9eb606f4a82b2c40e7a8.diff
L
https://github.com/igorkudrin closed
https://github.com/llvm/llvm-project/pull/145599
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Igor Kudrin
Date: 2025-06-27T14:30:24-07:00
New Revision: 442f99d7698a4ca87ebb16cb22df610c45d4698a
URL:
https://github.com/llvm/llvm-project/commit/442f99d7698a4ca87ebb16cb22df610c45d4698a
DIFF:
https://github.com/llvm/llvm-project/commit/442f99d7698a4ca87ebb16cb22df610c45d4698a.diff
L
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: None (qxy11)
Changes
### Summary
Currently `target modules dump separate separate-debug-info` automatically
loads up all DWO files, even if deferred loading is enabled through
debug_names. Then, as expected all DWO files (assuming there is
https://github.com/ashgti updated
https://github.com/llvm/llvm-project/pull/145621
>From 79c10b6f6630b3ceaa85af45956aeafdf372b5be Mon Sep 17 00:00:00 2001
From: John Harrison
Date: Wed, 25 Jun 2025 18:03:39 -0700
Subject: [PATCH 1/5] [lldb] Adding file and pipe support to
lldb_private::MainLoo
https://github.com/qxy11 created
https://github.com/llvm/llvm-project/pull/146166
### Summary
Currently `target modules dump separate separate-debug-info` automatically
loads up all DWO files, even if deferred loading is enabled through
debug_names. Then, as expected all DWO files (assuming th
https://github.com/ashgti edited
https://github.com/llvm/llvm-project/pull/145621
___
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/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/13] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
@@ -2547,6 +2561,7 @@ class CommandObjectTargetModulesDumpSeparateDebugInfoFiles
OptionValueBoolean m_json = false;
OptionValueBoolean m_errors_only = false;
+OptionValueBoolean m_load_all_debug_info = true;
dmpots wrote:
I wonder if it would be b
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/17] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/16] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/15] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
https://github.com/bulbazord approved this pull request.
Let's get this patch in and iterate on the tool. Please watch the bots after
landing.
https://github.com/llvm/llvm-project/pull/138031
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
h
https://github.com/ashgti edited
https://github.com/llvm/llvm-project/pull/145621
___
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/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/14] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
@@ -70,27 +77,49 @@ lldb::RegisterContextSP
ThreadMachCore::GetRegisterContext() {
lldb::RegisterContextSP
ThreadMachCore::CreateRegisterContextForFrame(StackFrame *frame) {
- lldb::RegisterContextSP reg_ctx_sp;
uint32_t concrete_frame_idx = 0;
if (frame)
concre
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/18] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/145599
>From fac89bb1b51496761b156f22dcff85cbe86bf9d2 Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Mon, 23 Jun 2025 23:39:52 -0700
Subject: [PATCH 1/2] [lldb] Fix evaluating expressions without JIT in an
object
@@ -2030,7 +2032,8 @@ class CommandObjectTargetModulesDumpSymtab
}
if (INTERRUPT_REQUESTED(GetDebugger(),
"Interrupted in dump all symtabs with {0} "
- "of {1} dumped.", num_dumped, num_modul
ashgti wrote:
On my windows VM, all tests are passing now and it looks like this is also
working for Linux. I think the current CI check is a no-op on Windows for lldb.
https://github.com/llvm/llvm-project/pull/145621
___
lldb-commits mailing list
lld
https://github.com/adrian-prantl approved this pull request.
https://github.com/llvm/llvm-project/pull/145935
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/chelcassanova updated
https://github.com/llvm/llvm-project/pull/138031
>From bf72ec458e7788ddd8d7cb7d42fbf55a9112722f Mon Sep 17 00:00:00 2001
From: Chelsea Cassanova
Date: Wed, 30 Apr 2025 14:15:39 -0700
Subject: [PATCH] [lldb][RPC] Upstream lldb-rpc-gen tool
This commit up
chelcassanova wrote:
When I updated the patch, the test now fails because of the error that it's
missing the clang resource dir. That repros locally and I haven't changed
anything about how the tool is built outside of adding a CMake variable,
investigating.
https://github.com/llvm/llvm-proje
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.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
@@ -463,6 +463,27 @@ class Triple {
const std::string &str() const { return Data; }
+ /// Return the triple string but only keep the first \p N components.
+ ///
+ /// The returned string will preserve the first \p N components exactly the
+ /// same as the original (in
@@ -642,9 +642,9 @@ bool SBDebugger::GetDefaultArchitecture(char *arch_name,
size_t arch_name_len) {
ArchSpec default_arch = Target::GetDefaultArchitecture();
if (default_arch.IsValid()) {
- const std::string &triple_str = default_arch.GetTriple().str();
+ c
chelcassanova wrote:
Actually, the test fails locally for me. On the pre-commit CI it's error
message is
`home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/RPC/Generator/Tests/Output/CheckRPCGenToolByproducts.test.script:
line 1: fg: no job control`, which mea
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.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
DavidSpickett wrote:
@JDevlieghere Release note please.
Feel free to put it at the the top for maximum buzzword power :) Include a link
to the documentation page once you've added that.
https://github.com/llvm/llvm-project/pull/143628
___
lldb-commit
DavidSpickett wrote:
> Upon realising that almost all of our custom extensions are only used in
> assembly
Which is surprising to me, but if I looked at all the assembly only extensions
for Arm I'd find the the same thing. I just rarely have to deal with those.
> And that's how we get here: f
https://github.com/labath commented:
I meant adding a new test method (`def test_something(self): self.build();
self.run(); your code`), but this is fine too, especially if the switch to the
new implementation is imminent.
https://github.com/llvm/llvm-project/pull/143786
__
https://github.com/labath approved this pull request.
https://github.com/llvm/llvm-project/pull/143786
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/tgymnich approved this pull request.
https://github.com/llvm/llvm-project/pull/146012
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Pavel Labath
Date: 2025-06-27T11:16:57+02:00
New Revision: 2c90c0b90cbdfbd069b2e79d6a2c3e3b160bf896
URL:
https://github.com/llvm/llvm-project/commit/2c90c0b90cbdfbd069b2e79d6a2c3e3b160bf896
DIFF:
https://github.com/llvm/llvm-project/commit/2c90c0b90cbdfbd069b2e79d6a2c3e3b160bf896.diff
https://github.com/labath closed
https://github.com/llvm/llvm-project/pull/145706
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -0,0 +1,68 @@
+# Model Context Protocol (MCP)
+
+LLDB supports for the [Model Context Protocol][1] (MCP). This structured,
+machine-friendly protocol allows AI models to access and interact with external
+tools, such as the debugger. Using MCP, an AI agent can execute LLDB comm
@@ -0,0 +1,68 @@
+# Model Context Protocol (MCP)
+
+LLDB supports for the [Model Context Protocol][1] (MCP). This structured,
+machine-friendly protocol allows AI models to access and interact with external
+tools, such as the debugger. Using MCP, an AI agent can execute LLDB comm
https://github.com/charles-zablit edited
https://github.com/llvm/llvm-project/pull/146062
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/charles-zablit created
https://github.com/llvm/llvm-project/pull/146062
This patch is part of an effort to remove the ResolveSDKPathFromDebugInfo
method, and more specifically the variant which takes a Module as argument.
This PR should be merged after https://github.com/llv
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Charles Zablit (charles-zablit)
Changes
This patch is part of an effort to remove the ResolveSDKPathFromDebugInfo
method, and more specifically the variant which takes a Module as argument.
This PR should be merged after https://github.com
DavidSpickett wrote:
Already done by
https://github.com/llvm/llvm-project/commit/3f00cff5c7871dbde3871d31fffbf183b3ce3419.
https://github.com/llvm/llvm-project/pull/145994
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.or
@@ -299,6 +299,8 @@ def parseOptionsAndInitTestdirs():
configuration.libcxx_library_dir = args.libcxx_library_dir
configuration.cmake_build_type = args.cmake_build_type.lower()
+configuration.target_triple = args.target_triple
+
DavidSpickett wrote
cs01 wrote:
Thank you both for the feedback. I started working on changes that add more
mutexes to adbclient methods, use a shared pointer for the sync service, and
has cleaner/less path dependent creation of the syncservice (I agree with your
comments labath). I will push an update either tod
@@ -0,0 +1,4 @@
+CXX_SOURCES := main.cpp
+
+CXXFLAGS_EXTRAS := -std=c++20 -O0
DavidSpickett wrote:
Is there a specific reason for this to be C++20? Trying to enable as many
features in u8string as possible perhaps?
https://github.com/llvm/llvm-project/pull/1431
@@ -299,6 +299,8 @@ def parseOptionsAndInitTestdirs():
configuration.libcxx_library_dir = args.libcxx_library_dir
configuration.cmake_build_type = args.cmake_build_type.lower()
+configuration.target_triple = args.target_triple
+
DavidSpickett wrote
https://github.com/DavidSpickett approved this pull request.
Please describe in the PR description the changes made since it was reverted
(even as trivial as they are here).
This helps git archaeology a bit, and users who might want to check the state
of a feature later and might be confused b
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-sharedlibs`
running on `linaro-flang-aarch64-sharedlibs` while building
`bolt,lldb,llvm,utils` at step 5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/80/builds/14
slydiman wrote:
The buildbot
[lldb-x86_64-win](https://lab.llvm.org/staging/#/builders/211/builds/700) is
broken after this patch.
Please fix it ASAP. We are planning to switch this buildbot to the production
mode soon.
https://github.com/llvm/llvm-project/pull/145994
@@ -21,7 +24,9 @@
using namespace lldb;
using namespace lldb_private;
-static DWORD ToTimeout(std::optional point) {
+namespace {
labath wrote:
according to the [coding
standards](https://llvm.org/docs/CodingStandards.html#restrict-visibility)
anonymous nam
@@ -493,7 +496,12 @@ ConnectionFileDescriptor::BytesAvailable(const
Timeout &timeout,
break; // Lets keep reading to until we timeout
}
} else {
+#if defined(_WIN32)
+if (const auto *sock = static_cast(m_io_sp.get());
labath wro
@@ -31,20 +31,27 @@ class MainLoopWindows : public MainLoopBase {
Status Run() override;
+ struct FdInfo {
+FdInfo(intptr_t event, Callback callback)
+: event(event), callback(callback) {}
+virtual ~FdInfo() {}
+virtual void WillPoll() {}
+virtual v
@@ -31,20 +31,27 @@ class MainLoopWindows : public MainLoopBase {
Status Run() override;
+ struct FdInfo {
+FdInfo(intptr_t event, Callback callback)
+: event(event), callback(callback) {}
+virtual ~FdInfo() {}
+virtual void WillPoll() {}
+virtual v
@@ -31,6 +36,127 @@ static DWORD
ToTimeout(std::optional point) {
return ceil(dur).count();
}
+class PipeFdInfo : public MainLoopWindows::FdInfo {
+public:
+ explicit PipeFdInfo(HANDLE handle, MainLoopBase::Callback callback)
+ : FdInfo((intptr_t)CreateEventW(NULL, /*
@@ -313,8 +318,39 @@ Socket::DecodeHostAndPort(llvm::StringRef host_and_port) {
}
IOObject::WaitableHandle Socket::GetWaitableHandle() {
- // TODO: On Windows, use WSAEventSelect
+#ifdef _WIN32
+ if (m_socket == kInvalidSocketValue)
+return kInvalidHandleValue;
+
+ if (
@@ -31,8 +31,11 @@
#include
#include
#include
+#include
#include
+#include
#include
+#include
labath wrote:
Are all of these still used?
https://github.com/llvm/llvm-project/pull/145621
___
lldb-commits ma
https://github.com/labath commented:
This looks much better. My two main questions now are:
- do we need regular file support
- do we need the pipe *thread*
(I think/hope the answer is "no" on both counts).
https://github.com/llvm/llvm-project/pull/145621
___
https://github.com/labath edited
https://github.com/llvm/llvm-project/pull/145621
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -274,7 +276,23 @@ int NativeFile::GetDescriptor() const {
}
IOObject::WaitableHandle NativeFile::GetWaitableHandle() {
+#ifdef _WIN32
+ return (HANDLE)_get_osfhandle(GetDescriptor());
+#else
return GetDescriptor();
+#endif
+}
+
+bool NativeFile::HasReadableData() {
+#if
@@ -0,0 +1,68 @@
+# Model Context Protocol (MCP)
+
+LLDB supports for the [Model Context Protocol][1] (MCP). This structured,
+machine-friendly protocol allows AI models to access and interact with external
+tools, such as the debugger. Using MCP, an AI agent can execute LLDB comm
@@ -0,0 +1,68 @@
+# Model Context Protocol (MCP)
+
+LLDB supports for the [Model Context Protocol][1] (MCP). This structured,
+machine-friendly protocol allows AI models to access and interact with external
+tools, such as the debugger. Using MCP, an AI agent can execute LLDB comm
@@ -0,0 +1,68 @@
+# Model Context Protocol (MCP)
+
+LLDB supports for the [Model Context Protocol][1] (MCP). This structured,
DavidSpickett wrote:
`supports the`, drop the `for`
https://github.com/llvm/llvm-project/pull/145935
___
@@ -0,0 +1,68 @@
+# Model Context Protocol (MCP)
+
+LLDB supports for the [Model Context Protocol][1] (MCP). This structured,
+machine-friendly protocol allows AI models to access and interact with external
+tools, such as the debugger. Using MCP, an AI agent can execute LLDB comm
@@ -0,0 +1,68 @@
+# Model Context Protocol (MCP)
+
+LLDB supports for the [Model Context Protocol][1] (MCP). This structured,
+machine-friendly protocol allows AI models to access and interact with external
+tools, such as the debugger. Using MCP, an AI agent can execute LLDB comm
@@ -0,0 +1,68 @@
+# Model Context Protocol (MCP)
+
+LLDB supports for the [Model Context Protocol][1] (MCP). This structured,
+machine-friendly protocol allows AI models to access and interact with external
+tools, such as the debugger. Using MCP, an AI agent can execute LLDB comm
@@ -0,0 +1,68 @@
+# Model Context Protocol (MCP)
+
+LLDB supports for the [Model Context Protocol][1] (MCP). This structured,
+machine-friendly protocol allows AI models to access and interact with external
+tools, such as the debugger. Using MCP, an AI agent can execute LLDB comm
@@ -0,0 +1,68 @@
+# Model Context Protocol (MCP)
+
+LLDB supports for the [Model Context Protocol][1] (MCP). This structured,
+machine-friendly protocol allows AI models to access and interact with external
+tools, such as the debugger. Using MCP, an AI agent can execute LLDB comm
Author: cmtice
Date: 2025-06-27T07:30:14-07:00
New Revision: da2969b1051f4adf57d4395cd2f3e1e8c33b3d1b
URL:
https://github.com/llvm/llvm-project/commit/da2969b1051f4adf57d4395cd2f3e1e8c33b3d1b
DIFF:
https://github.com/llvm/llvm-project/commit/da2969b1051f4adf57d4395cd2f3e1e8c33b3d1b.diff
LOG: [
https://github.com/cmtice closed
https://github.com/llvm/llvm-project/pull/143786
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -0,0 +1,87 @@
+"""
+Defines a command, fdis, that does filtered disassembly. The command does the
+lldb disassemble command with -b and any other arguments passed in, and
+pipes that through a provided filter program.
+
+The intention is to support disassembly of RISC-V proprie
@@ -299,6 +299,8 @@ def parseOptionsAndInitTestdirs():
configuration.libcxx_library_dir = args.libcxx_library_dir
configuration.cmake_build_type = args.cmake_build_type.lower()
+configuration.target_triple = args.target_triple
+
DavidSpickett wrote
@@ -658,8 +658,13 @@ void Instruction::Dump(lldb_private::Stream *s, uint32_t
max_opcode_byte_size,
// the byte dump to be able to always show 15 bytes (3 chars each) plus a
// space
if (max_opcode_byte_size > 0)
-m_opcode.Dump(&ss, max_opcode_byte_si
@@ -658,8 +658,13 @@ void Instruction::Dump(lldb_private::Stream *s, uint32_t
max_opcode_byte_size,
// the byte dump to be able to always show 15 bytes (3 chars each) plus a
// space
if (max_opcode_byte_size > 0)
-m_opcode.Dump(&ss, max_opcode_byte_si
DavidSpickett wrote:
> Arm M profile has
> https://developer.arm.com/Architectures/Arm%20Custom%20Instructions, I'll
> look into that and see if it would benefit from a change of output format
> too. Just in theory though, I don't think we shipped support for open source
> debuggers and I'm n
@@ -78,6 +78,44 @@ lldb::ByteOrder Opcode::GetDataByteOrder() const {
return eByteOrderInvalid;
}
+// make RISC-V byte dumps look like llvm-objdump, instead of just dumping bytes
+int Opcode::DumpRISCV(Stream *s, uint32_t min_byte_width) {
+ const uint32_t previous_bytes =
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.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
https://github.com/jasonmolenda updated
https://github.com/llvm/llvm-project/pull/144627
>From 92348b28fb02901e9437b92c1ddf8cfed31c Mon Sep 17 00:00:00 2001
From: Jason Molenda
Date: Tue, 17 Jun 2025 18:57:11 -0700
Subject: [PATCH 01/19] [lldb][Mach-O] Allow "process metadata" LC_NOTE to
s
Author: Jason Molenda
Date: 2025-06-27T18:43:41-07:00
New Revision: a64db49371f040859a9de7c0f4fbfb655d8dda17
URL:
https://github.com/llvm/llvm-project/commit/a64db49371f040859a9de7c0f4fbfb655d8dda17
DIFF:
https://github.com/llvm/llvm-project/commit/a64db49371f040859a9de7c0f4fbfb655d8dda17.diff
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.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
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-s390x-linux` running
on `systemz-1` while building `bolt,lldb,llvm,utils` at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/42/builds/5136
Here is the relevant piece of
https://github.com/ashgti updated
https://github.com/llvm/llvm-project/pull/145621
>From 954f107c85f766ee75370b349eb039819f456db5 Mon Sep 17 00:00:00 2001
From: John Harrison
Date: Wed, 25 Jun 2025 18:03:39 -0700
Subject: [PATCH 1/4] [lldb] Adding file and pipe support to
lldb_private::MainLoo
@@ -493,7 +496,12 @@ ConnectionFileDescriptor::BytesAvailable(const
Timeout &timeout,
break; // Lets keep reading to until we timeout
}
} else {
+#if defined(_WIN32)
+if (const auto *sock = static_cast(m_io_sp.get());
ashgti wro
@@ -31,8 +31,11 @@
#include
#include
#include
+#include
#include
+#include
#include
+#include
ashgti wrote:
Removed.
https://github.com/llvm/llvm-project/pull/145621
___
lldb-commits mailing list
lldb-comm
@@ -31,20 +31,27 @@ class MainLoopWindows : public MainLoopBase {
Status Run() override;
+ struct FdInfo {
+FdInfo(intptr_t event, Callback callback)
+: event(event), callback(callback) {}
+virtual ~FdInfo() {}
+virtual void WillPoll() {}
+virtual v
https://github.com/dwblaikie approved this pull request.
https://github.com/llvm/llvm-project/pull/146112
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -31,20 +31,27 @@ class MainLoopWindows : public MainLoopBase {
Status Run() override;
+ struct FdInfo {
+FdInfo(intptr_t event, Callback callback)
+: event(event), callback(callback) {}
+virtual ~FdInfo() {}
+virtual void WillPoll() {}
+virtual v
https://github.com/Sterling-Augustine closed
https://github.com/llvm/llvm-project/pull/146112
___
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.
This one is ready then.
https://github.com/llvm/llvm-project/pull/145599
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/JDevlieghere created
https://github.com/llvm/llvm-project/pull/146132
This PR ensures we correctly restore the cursor column after resizing the
statusline. To ensure we have space for the statusline, we have to emit a
newline to move up everything on screen. The newline caus
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Jonas Devlieghere (JDevlieghere)
Changes
This PR ensures we correctly restore the cursor column after resizing the
statusline. To ensure we have space for the statusline, we have to emit a
newline to move up everything on screen. The newli
JDevlieghere wrote:
Alternative approach: https://github.com/llvm/llvm-project/pull/146132
https://github.com/llvm/llvm-project/pull/145823
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-c
@@ -5857,6 +5838,50 @@ bool ObjectFileMachO::GetCorefileThreadExtraInfos(
return false;
}
+StructuredData::ObjectSP ObjectFileMachO::GetCorefileProcessMetadata() {
+ ModuleSP module_sp(GetModule());
+ if (!module_sp)
+return {};
+
+ Log *log(GetLog(LLDBLog::Object | L
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.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
@@ -5857,6 +5838,50 @@ bool ObjectFileMachO::GetCorefileThreadExtraInfos(
return false;
}
+StructuredData::ObjectSP ObjectFileMachO::GetCorefileProcessMetadata() {
+ ModuleSP module_sp(GetModule());
+ if (!module_sp)
+return {};
+
+ Log *log(GetLog(LLDBLog::Object | L
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.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
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.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
https://github.com/JDevlieghere edited
https://github.com/llvm/llvm-project/pull/144627
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.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
@@ -133,6 +133,8 @@ class ObjectFileMachO : public lldb_private::ObjectFile {
bool GetCorefileThreadExtraInfos(std::vector &tids) override;
+ lldb_private::StructuredData::ObjectSP GetCorefileProcessMetadata() override;
JDevlieghere wrote:
```suggestion
@@ -0,0 +1,300 @@
+//===-- RegisterContextUnifiedCore.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
1 - 100 of 152 matches
Mail list logo