llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Michael Buch (Michael137)
Changes
This reverts commit 877511920dcf36463e06746d626e8876583a6abd.
This fixes the `TestObjCInBlockVars.py` LLDB API test.
The issue was that `GetCXXObjectParameter` wouldn't deduce the object parameter
of Obje
https://github.com/Michael137 created
https://github.com/llvm/llvm-project/pull/145126
This reverts commit 877511920dcf36463e06746d626e8876583a6abd.
This fixes the `TestObjCInBlockVars.py` LLDB API test.
The issue was that `GetCXXObjectParameter` wouldn't deduce the object parameter
of Object
@@ -53,6 +53,27 @@ bool DWARFExpressionList::ContainsAddress(lldb::addr_t
func_load_addr,
return GetExpressionAtAddress(func_load_addr, addr) != nullptr;
}
+llvm::Expected
+DWARFExpressionList::GetExpressionEntryAtAddress(lldb::addr_t func_load_addr,
+
https://github.com/medismailben updated
https://github.com/llvm/llvm-project/pull/145104
>From c83fa6be0c41102d4c0df424574b215d4f83f5f2 Mon Sep 17 00:00:00 2001
From: Med Ismail Bennani
Date: Fri, 20 Jun 2025 14:45:11 -0700
Subject: [PATCH 1/2] [lldb/crashlog] Fix register parsing for arm64 usi
jasonmolenda wrote:
> Hi @JDevlieghere,
>
> I think I know why - it's by design: In the `Host::FindProcessImpl()` for iOS
> simulator, after getting all processes in the macOS, it filters out the
> processes which are being debugged
FWIW in general this is done so that you can have multiple
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Med Ismail Bennani (medismailben)
Changes
This patch addresses 2 issues:
1. It makes registers available on non-crashed threads all the time
2. It fixes arm64 registers parsing for registers that don't use the `x` prefix
(`fp` -> `x29` / `l
https://github.com/medismailben created
https://github.com/llvm/llvm-project/pull/145104
This patch addresses 2 issues:
1. It makes registers available on non-crashed threads all the time
2. It fixes arm64 registers parsing for registers that don't use the `x` prefix
(`fp` -> `x29` / `lr` -> `x
JDevlieghere wrote:
> I think I know why - it's by design: In the `Host::FindProcessImpl()` for iOS
> simulator, after getting all processes in the macOS, it filters out the
> processes which are being debugged
> ([here](https://github.com/llvm/llvm-project/blob/b5dbf8210a57b986b9802304745f4c5
https://github.com/jasonmolenda approved this pull request.
Looks good to me, test addition is nice. Usually when I've seen lldb sending
qC, something has gone off the rails enough that the debug session is dead, but
I can see vRun being a particular instance where it might not be.
https://gi
@@ -154,14 +154,33 @@ def test_find_in_memory_unaligned(self):
self.assertEqual(addr, lldb.LLDB_INVALID_ADDRESS)
def test_memory_info_list_iterable(self):
-"""Make sure the SBMemoryRegionInfoList is iterable"""
+"""Make sure the SBMemoryRegionInfoLi
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Med Ismail Bennani (medismailben)
Changes
This patch adds support to the haswell sub-architecture (x86_64h) to scripted
processes.
rdar://147208252
---
Full diff: https://github.com/llvm/llvm-project/pull/145099.diff
2 Files Affected:
https://github.com/medismailben created
https://github.com/llvm/llvm-project/pull/145099
This patch adds support to the haswell sub-architecture (x86_64h) to scripted
processes.
rdar://147208252
>From bf21c2e9c59939956230d3093d5705e3e8fde12e Mon Sep 17 00:00:00 2001
From: Med Ismail Bennani
https://github.com/JDevlieghere closed
https://github.com/llvm/llvm-project/pull/144217
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: nerix
Date: 2025-06-20T14:54:06-05:00
New Revision: d8924d4da78fc980b720b328897b1bd5efba348a
URL:
https://github.com/llvm/llvm-project/commit/d8924d4da78fc980b720b328897b1bd5efba348a
DIFF:
https://github.com/llvm/llvm-project/commit/d8924d4da78fc980b720b328897b1bd5efba348a.diff
LOG: [L
chelcassanova wrote:
@labath
> Well.. IIUC, this test tries to attach to a process called "a.out" -- and
> hopes that the process doesn't appear.
That's pretty much it, I just need to wait-attach to _some_ process to trigger
the progress report I'm expecting and then drop the process once we
https://github.com/cmtice updated
https://github.com/llvm/llvm-project/pull/145055
>From e9079e6357b933e84603997edb8d0cd27a515989 Mon Sep 17 00:00:00 2001
From: Caroline Tice
Date: Fri, 20 Jun 2025 08:33:14 -0700
Subject: [PATCH 1/4] [LLDB] Update DIL to pass current 'frame var' tests.
As a pr
@@ -23,7 +23,7 @@ class NativeProcessSoftwareSingleStep {
protected:
// List of thread ids stepping with a breakpoint with the address of
// the relevan breakpoint
- std::map m_threads_stepping_with_breakpoint;
+ std::multimap m_threads_stepping_with_breakpoint;
-
@@ -236,199 +236,158 @@ static bool PrettyPrintFunctionNameWithArgs(Stream
&out_stream,
return true;
}
-static std::optional
-GetDemangledBasename(const SymbolContext &sc) {
+static llvm::Expected>
+GetAndValidateInfo(const SymbolContext &sc) {
Mangled mangled = sc.GetPo
https://github.com/zyn-li updated
https://github.com/llvm/llvm-project/pull/144815
>From 2054114501b9de9ab54d22044800607fd12d Mon Sep 17 00:00:00 2001
From: Zhiyuan Li
Date: Wed, 18 Jun 2025 16:49:12 -0700
Subject: [PATCH] [lldb] Fix SBMemoryRegionInfoListExtensions iter to yield
unique re
https://github.com/chelcassanova approved this pull request.
LGTM!
(For future reference, we should also do this when we run the framework fixup
Python script)
https://github.com/llvm/llvm-project/pull/144217
___
lldb-commits mailing list
lldb-commit
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/144998
>From 22e8f644c3cd8856e1663bdf71aab4fa621f75bf Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Wed, 29 Jan 2025 12:15:35 +
Subject: [PATCH 1/2] [lldb][DWARFASTParserClang] Support constant index
encodi
jyknight wrote:
> Thanks for the concrete example! [..]
I just wanted to thank you (a bit late) for the explanation above, it was
really helpful!
> FWIW I'd like to get rid of the reference count of DiagnosticsEngine too, and
> make the lifetimes stricter and more explicit, but that's a lower
https://github.com/Michael137 closed
https://github.com/llvm/llvm-project/pull/145065
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/zyn-li updated
https://github.com/llvm/llvm-project/pull/144815
>From 16792f7dffae9ef95a3a09c2dbaa6731b07e0ea7 Mon Sep 17 00:00:00 2001
From: Zhiyuan Li
Date: Wed, 18 Jun 2025 16:49:12 -0700
Subject: [PATCH 1/2] [lldb] Fix SBMemoryRegionInfoListExtensions iter to yield
uniqu
Author: Maryam Moghadas
Date: 2025-06-20T13:03:14-04:00
New Revision: 65cb3bcf327da8f9740e56897bc9954364e59eb6
URL:
https://github.com/llvm/llvm-project/commit/65cb3bcf327da8f9740e56897bc9954364e59eb6
DIFF:
https://github.com/llvm/llvm-project/commit/65cb3bcf327da8f9740e56897bc9954364e59eb6.dif
Author: Hemang Gadhavi
Date: 2025-06-20T20:18:39+05:30
New Revision: 20d57e77f6709ef32791391bc064d3ed5663272a
URL:
https://github.com/llvm/llvm-project/commit/20d57e77f6709ef32791391bc064d3ed5663272a
DIFF:
https://github.com/llvm/llvm-project/commit/20d57e77f6709ef32791391bc064d3ed5663272a.diff
https://github.com/DavidSpickett updated
https://github.com/llvm/llvm-project/pull/145029
>From ba8fcf4ef14e25b8a628b994988d6a67bdbea7df Mon Sep 17 00:00:00 2001
From: David Spickett
Date: Thu, 19 Jun 2025 10:43:48 +
Subject: [PATCH] [lldb][AArch64] Add HWCAP3 to register field detection
T
https://github.com/JDevlieghere closed
https://github.com/llvm/llvm-project/pull/143628
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -32,6 +34,37 @@ class RegisterValue;
class Stream;
class Target;
class UnwindPlan;
+class EmulateInstruction;
+
+using BreakpointLocations = std::vector;
+
+class SingleStepBreakpointLocationsPredictor {
+public:
+ SingleStepBreakpointLocationsPredictor(
+ std::unique_
@@ -1792,4 +1778,127 @@ bool EmulateInstructionRISCV::SupportsThisArch(const
ArchSpec &arch) {
return arch.GetTriple().isRISCV();
}
+BreakpointLocations
+RISCVSingleStepBreakpointLocationsPredictor::GetBreakpointLocations(
+Status &status) {
+ EmulateInstructionRISCV *
Author: Jonas Devlieghere
Date: 2025-06-20T10:48:04-05:00
New Revision: 9524bfb27020d31b9474f595b7c0e5d2e1ac65f5
URL:
https://github.com/llvm/llvm-project/commit/9524bfb27020d31b9474f595b7c0e5d2e1ac65f5
DIFF:
https://github.com/llvm/llvm-project/commit/9524bfb27020d31b9474f595b7c0e5d2e1ac65f5.d
https://github.com/Sterling-Augustine created
https://github.com/llvm/llvm-project/pull/145081
This is the culmination of a series of changes described in [1].
Although somewhat large by line count, it is almost entirely mechanical,
creating a new library in DebugInfo/DWARF/LowLevel. This
labath wrote:
Well.. IIUC, this test tries to attach to a process called "a.out" -- and hopes
that the process doesn't appear. If you run the test suite in parallel, you'll
have any number of processes like that going around all the time. Not only will
this test fail, but it will mess up the s
charles-zablit wrote:
I only get one test failures when running the `check-lldb-api` target:
`commands/platform/sdk/TestPlatformSDK.py` but it also happens on the main
branch, so there's probably something wrong with the SDK configuration on my
system.
https://github.com/llvm/llvm-project/pul
DavidSpickett wrote:
HWCAP3 has been present for a while -
https://elixir.bootlin.com/linux/v6.16-rc2/source/include/uapi/linux/auxvec.h#L35
The MTE patches are still in review
(https://lore.kernel.org/linux-arm-kernel/20250611150417.44850-5-yeoreum@arm.com/)
but are unlikely to change dr
https://github.com/DavidSpickett edited
https://github.com/llvm/llvm-project/pull/145029
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Jonas Devlieghere
Date: 2025-06-20T10:54:00-05:00
New Revision: 749e4a53d252e23e870d4a1638ff9d846af58e7f
URL:
https://github.com/llvm/llvm-project/commit/749e4a53d252e23e870d4a1638ff9d846af58e7f
DIFF:
https://github.com/llvm/llvm-project/commit/749e4a53d252e23e870d4a1638ff9d846af58e7f.d
@@ -106,6 +106,10 @@ class Socket : public IOObject {
static std::unique_ptr Create(const SocketProtocol protocol,
Status &error);
+ static llvm::Expected<
+ std::pair, std::unique_ptr>>
JDevlieghere wrote:
Nit:
https://github.com/JDevlieghere approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/145015
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/JDevlieghere edited
https://github.com/llvm/llvm-project/pull/145015
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -52,6 +52,34 @@ TCPSocket::TCPSocket(NativeSocket socket, bool should_close)
TCPSocket::~TCPSocket() { CloseListenSockets(); }
+llvm::Expected<
+std::pair, std::unique_ptr>>
+TCPSocket::CreatePair() {
+ auto listen_socket_up = std::make_unique(true);
+ if (Status err
@@ -74,24 +74,48 @@ struct DemangledNameInfo {
return BasenameRange.second > BasenameRange.first;
}
+ /// Returns \c true if `BasenameRange` is empty.
+ bool isBasenameEmpty() const {
+return BasenameRange.first == BasenameRange.second;
Michael137
https://github.com/cmtice updated
https://github.com/llvm/llvm-project/pull/145055
>From e9079e6357b933e84603997edb8d0cd27a515989 Mon Sep 17 00:00:00 2001
From: Caroline Tice
Date: Fri, 20 Jun 2025 08:33:14 -0700
Subject: [PATCH 1/2] [LLDB] Update DIL to pass current 'frame var' tests.
As a pr
@@ -16,4 +16,4 @@ run
da-viper wrote:
did not run it with a file since that is tested in the `TestProcessSaveCore.py`
file.
https://github.com/llvm/llvm-project/pull/143126
___
lldb-commits mailing list
lldb-commit
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 HEAD~1...HEAD
lldb/test/API/functionalities/data-formatter/data-formatter-stl/msvcstl/stri
https://github.com/cmtice created
https://github.com/llvm/llvm-project/pull/145055
As a preliminary to making DIL the default implementation for 'frame var', ran
check-lldb forcing 'frame var' to always use DIL, and discovered a few failing
tests. This fixes most of them. The only two remainin
DavidSpickett wrote:
Depending on the user's knowledge of / interpretation of how signals work, I
don't think "sent by kernel" is enough for them to find their specific problem.
Asking my nearest totally accurate AI model:
> Yes, when an application receives a SIGILL (illegal instruction) signa
medismailben wrote:
Cool stuff!
https://github.com/llvm/llvm-project/pull/144543
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/cmtice updated
https://github.com/llvm/llvm-project/pull/145055
>From e9079e6357b933e84603997edb8d0cd27a515989 Mon Sep 17 00:00:00 2001
From: Caroline Tice
Date: Fri, 20 Jun 2025 08:33:14 -0700
Subject: [PATCH 1/3] [LLDB] Update DIL to pass current 'frame var' tests.
As a pr
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,h --
llvm/include/llvm/DebugInfo/DWARF/DWARFExpressionPr
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Michael Buch (Michael137)
Changes
Reverts llvm/llvm-project#144880
Caused `TestObjCIvarsInBlocks.py` to fail on macOS CI.
---
Full diff: https://github.com/llvm/llvm-project/pull/145065.diff
2 Files Affected:
- (modified) lldb/source/Pl
https://github.com/dlav-sc updated
https://github.com/llvm/llvm-project/pull/127505
>From 2520b8d7884d320ed7923685b1a3e8652a7e8f5f Mon Sep 17 00:00:00 2001
From: Daniil Avdeev
Date: Fri, 23 May 2025 13:27:46 +
Subject: [PATCH 1/4] [lldb][RISCV] handle lr/sc single step
lldb-server had limi
https://github.com/maryammo closed
https://github.com/llvm/llvm-project/pull/142480
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: None (eleviant)
Changes
Patch fixes the sync-on-timeout logic in lldb and switches to qEcho based ping,
instead of qC. This fixes vRun message case, when there is no process yet and
qC returns an error.
---
Full diff: https://github.com/l
https://github.com/eleviant updated
https://github.com/llvm/llvm-project/pull/145072
>From 8436977c0331765ab17dbb47cd7113352642e575 Mon Sep 17 00:00:00 2001
From: Evgeny Leviant
Date: Fri, 20 Jun 2025 18:46:24 +0200
Subject: [PATCH 1/2] [lldb] Fix qEcho message handling
Patch fixes the sync-on
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 HEAD~1...HEAD
lldb/packages/Python/lldbsuite/test/gdbclientutils.py
lldb/test/API/functio
https://github.com/da-viper updated
https://github.com/llvm/llvm-project/pull/143126
>From fc849bd4e831f9dc6f53be3a8508e1eb33f4151c Mon Sep 17 00:00:00 2001
From: Ebuka Ezike
Date: Fri, 6 Jun 2025 13:15:41 +0100
Subject: [PATCH 1/3] [lldb] add plugin names to process save-core error
output.
s
https://github.com/eleviant created
https://github.com/llvm/llvm-project/pull/145072
Patch fixes the sync-on-timeout logic in lldb and switches to qEcho based ping,
instead of qC. This fixes vRun message case, when there is no process yet and
qC returns an error.
>From 8436977c0331765ab17dbb4
https://github.com/Michael137 created
https://github.com/llvm/llvm-project/pull/145065
Reverts llvm/llvm-project#144880
Caused `TestObjCIvarsInBlocks.py` to fail on macOS CI.
>From 34db3b66fd4b406453ed712bf8995eb2ed32dcb7 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Fri, 20 Jun 2025 17:2
DavidSpickett wrote:
**Note:** The first commit of this is
https://github.com/llvm/llvm-project/pull/145029. Please review the subsequent
commits only.
Kernel patch for this feature still in review
(https://lore.kernel.org/linux-arm-kernel/20250611150417.44850-3-yeoreum@arm.com/)
but hav
Author: Michael Buch
Date: 2025-06-20T17:20:58+01:00
New Revision: 877511920dcf36463e06746d626e8876583a6abd
URL:
https://github.com/llvm/llvm-project/commit/877511920dcf36463e06746d626e8876583a6abd
DIFF:
https://github.com/llvm/llvm-project/commit/877511920dcf36463e06746d626e8876583a6abd.diff
Michael137 wrote:
> @Michael137 Looks like this causes `TestObjCIvarsInBlocks.py` to fail on AS:
> https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/28039/
Thanks for pinging. Reverted for now.
https://github.com/llvm/llvm-project/pull/144880
_
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: None (cmtice)
Changes
As a preliminary to making DIL the default implementation for 'frame var', ran
check-lldb forcing 'frame var' to always use DIL, and discovered a few failing
tests. This fixes most of them. The only two remaining fail
@@ -326,11 +326,15 @@ void NativeProcessFreeBSD::MonitorSIGTRAP(lldb::pid_t
pid) {
if (thread_info != m_threads_stepping_with_breakpoint.end() &&
thread_info->second == regctx.GetPC()) {
thread->SetStoppedByTrace();
- Status brkpt_error =
@@ -16,6 +17,36 @@ def setUp(self):
self.broadcaster, lldb.SBDebugger.eBroadcastBitProgress
)
+def test_wait_attach_progress_reporting(self):
+"""Test that progress reports for wait attaching work as intended."""
+self.build()
--
JDevlieghere wrote:
@Michael137 Looks like this causes `TestObjCIvarsInBlocks.py` to fail on AS:
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/28039/
https://github.com/llvm/llvm-project/pull/144880
___
lldb-commits mailing list
cmtice wrote:
Question: Should we update DIL to parse/handle negative integers before making
the switch? (e.g. to pass the TestVarPath test)
https://github.com/llvm/llvm-project/pull/145055
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
htt
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 HEAD~1...HEAD
lldb/test/API/commands/frame/var-dil/basics/MemberOf/TestFrameVarDILMemberOf
https://github.com/adrian-prantl approved this pull request.
https://github.com/llvm/llvm-project/pull/144998
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -326,11 +326,15 @@ void NativeProcessFreeBSD::MonitorSIGTRAP(lldb::pid_t
pid) {
if (thread_info != m_threads_stepping_with_breakpoint.end() &&
thread_info->second == regctx.GetPC()) {
thread->SetStoppedByTrace();
- Status brkpt_error =
https://github.com/JDevlieghere approved this pull request.
LGTM, I'm very happy with this :-)
https://github.com/llvm/llvm-project/pull/144543
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/l
@@ -101,7 +101,8 @@ def test_server_interrupt(self):
# Interrupt the server which should disconnect all clients.
process.send_signal(signal.SIGINT)
-self.dap_server.wait_for_terminated()
+self.dap_server.wait_for_event(["terminated", "exited"])
@@ -342,6 +342,7 @@ serveConnection(const Socket::SocketProtocol &protocol,
const std::string &name,
<< " disconnected failed: "
<< llvm::toString(std::move(error)) << "\n";
}
+ dap->StopEventHandlers();
JDe
https://github.com/JDevlieghere commented:
This patch seems to be doing multiple things and unless they really depend on
each other, they should really be separate PRs. For example, the URL label
change looks like it can stand on its own and can easily be tested through a
unit test.
https://g
@@ -489,7 +489,7 @@ def wait_for_exited(self, timeout: Optional[float] = None):
return event_dict
def wait_for_terminated(self, timeout: Optional[float] = None):
-event_dict = self.wait_for_event("terminated", timeout)
+event_dict = self.wait_for_ev
https://github.com/JDevlieghere edited
https://github.com/llvm/llvm-project/pull/145010
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -0,0 +1,90 @@
+"""
+Test software step-inst
+"""
+
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+class TestSoftwareStep(TestBase):
+@skipIf(archs=no_match(re.compile("rv*")))
--
@@ -1792,4 +1778,127 @@ bool EmulateInstructionRISCV::SupportsThisArch(const
ArchSpec &arch) {
return arch.GetTriple().isRISCV();
}
+BreakpointLocations
+RISCVSingleStepBreakpointLocationsPredictor::GetBreakpointLocations(
+Status &status) {
+ EmulateInstructionRISCV *
@@ -32,6 +32,31 @@ class RegisterValue;
class Stream;
class Target;
class UnwindPlan;
+class EmulateInstruction;
+
+using BreakpointLocations = std::vector;
+
+class SingleStepBreakpointLocationsPredictor {
+public:
+ SingleStepBreakpointLocationsPredictor(
+ std::unique_
@@ -0,0 +1,19 @@
+void __attribute__((naked)) incomplete_cas(int *a, int *b) {
dlav-sc wrote:
I've added comments to all source test files.
https://github.com/llvm/llvm-project/pull/127505
___
lldb-commits mailing list
@@ -32,6 +34,37 @@ class RegisterValue;
class Stream;
class Target;
class UnwindPlan;
+class EmulateInstruction;
+
+using BreakpointLocations = std::vector;
+
+class SingleStepBreakpointLocationsPredictor {
+public:
+ SingleStepBreakpointLocationsPredictor(
+ std::unique_
@@ -0,0 +1,90 @@
+"""
+Test software step-inst
+"""
+
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+class TestSoftwareStep(TestBase):
+@skipIf(archs=no_match(re.compile("rv*")))
+def t
https://github.com/Nerixyz updated
https://github.com/llvm/llvm-project/pull/143177
>From ad7f551c73e713da43b20c8908b517e9e02c50e2 Mon Sep 17 00:00:00 2001
From: Nerixyz
Date: Wed, 18 Jun 2025 21:49:16 +0200
Subject: [PATCH] [LLDB] Add type summaries for MSVC STL strings
---
.../lldb/DataForm
https://github.com/DhruvSrivastavaX closed
https://github.com/llvm/llvm-project/pull/144645
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -23,7 +23,7 @@ class NativeProcessSoftwareSingleStep {
protected:
// List of thread ids stepping with a breakpoint with the address of
// the relevan breakpoint
- std::map m_threads_stepping_with_breakpoint;
+ std::multimap m_threads_stepping_with_breakpoint;
-
@@ -0,0 +1,19 @@
+void __attribute__((naked)) incomplete_cas(int *a, int *b) {
DavidSpickett wrote:
Actually I think it's not missing, it's doing something else? The sc.w part.
Anyway, a comment will make this clear.
https://github.com/llvm/llvm-project/pull/12
https://github.com/Michael137 closed
https://github.com/llvm/llvm-project/pull/144880
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: Michael Buch
Date: 2025-06-20T16:01:55+01:00
New Revision: b017b4ce9a45d4c5a339e24142da5d4a7e4c5db1
URL:
https://github.com/llvm/llvm-project/commit/b017b4ce9a45d4c5a339e24142da5d4a7e4c5db1
DIFF:
https://github.com/llvm/llvm-project/commit/b017b4ce9a45d4c5a339e24142da5d4a7e4c5db1.diff
@@ -326,11 +326,15 @@ void NativeProcessFreeBSD::MonitorSIGTRAP(lldb::pid_t
pid) {
if (thread_info != m_threads_stepping_with_breakpoint.end() &&
thread_info->second == regctx.GetPC()) {
thread->SetStoppedByTrace();
- Status brkpt_error =
https://github.com/DhruvSrivastavaX approved this pull request.
https://github.com/llvm/llvm-project/pull/144645
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/Nerixyz updated
https://github.com/llvm/llvm-project/pull/143177
>From 9f957946e2538c8a0c0f6d772ae9c5d1946ec694 Mon Sep 17 00:00:00 2001
From: Nerixyz
Date: Wed, 18 Jun 2025 21:49:16 +0200
Subject: [PATCH] [LLDB] Add type summaries for MSVC STL strings
---
.../lldb/DataForm
@@ -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
+
Nerixyz wrote:
The
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: David Spickett (DavidSpickett)
Changes
This controls whether tag checking is performed for loads and
stores, or stores only.
It requires a specific architecture feature which we detect
with a HWCAP3 and cpuinfo feature.
Live process tests
@@ -0,0 +1,4 @@
+CXX_SOURCES := main.cpp
+
+CXXFLAGS_EXTRAS := -std=c++14 -O0
Nerixyz wrote:
Yes, that worked!
https://github.com/llvm/llvm-project/pull/143177
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
@@ -16,6 +16,16 @@
namespace lldb_private {
+class ARMSingleStepBreakpointLocationsPredictor
+: public SingleStepBreakpointLocationsPredictor {
+public:
+ ARMSingleStepBreakpointLocationsPredictor(
+ std::unique_ptr emulator_up)
+ : SingleStepBreakpointLocation
https://github.com/Nerixyz updated
https://github.com/llvm/llvm-project/pull/143177
>From d80694278209cfc1c88414b1f5eb8e9980ebb3fa Mon Sep 17 00:00:00 2001
From: Nerixyz
Date: Wed, 18 Jun 2025 21:49:16 +0200
Subject: [PATCH] [LLDB] Add type summaries for MSVC STL strings
---
.../lldb/DataForm
https://github.com/dlav-sc updated
https://github.com/llvm/llvm-project/pull/127505
>From 2520b8d7884d320ed7923685b1a3e8652a7e8f5f Mon Sep 17 00:00:00 2001
From: Daniil Avdeev
Date: Fri, 23 May 2025 13:27:46 +
Subject: [PATCH 1/3] [lldb][RISCV] handle lr/sc single step
lldb-server had limi
@@ -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
+
labath wrote:
I'd
@@ -0,0 +1,90 @@
+"""
+Test software step-inst
+"""
+
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+class TestSoftwareStep(TestBase):
+@skipIf(archs=no_match(re.compile("rv*")))
+def t
@@ -0,0 +1,90 @@
+"""
+Test software step-inst
+"""
+
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+class TestSoftwareStep(TestBase):
+@skipIf(archs=no_match(re.compile("rv*")))
+def t
1 - 100 of 168 matches
Mail list logo