================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to