[Lldb-commits] [lldb] Support breakpoint info bytes (PR #141122)
Ebuka Ezike via lldb-commits
lldb-commits at lists.llvm.org
Fri May 23 11:52:43 PDT 2025
================
@@ -16,12 +15,61 @@
namespace lldb_dap {
+static llvm::Expected<protocol::DataBreakpointInfoResponseBody>
+HandleDataBreakpointBytes(DAP &dap,
+ const protocol::DataBreakpointInfoArguments &args) {
+ llvm::StringRef address = args.name;
+
+ unsigned long long load_addr = LLDB_INVALID_ADDRESS;
----------------
da-viper wrote:
`llvm::getAsUnsignedInteger` accepts on `unsigned long long` and the type of `lldb::addr_t` is `unsigned long int` on my machine
Did a bit digging and found `llvm::StringRef<T>::getAsInteger`
https://github.com/llvm/llvm-project/pull/141122
More information about the lldb-commits
mailing list