[LLDB] Fix broken LLDB build due MemoryTagManager.h
authorMuhammad Omair Javaid <omair.javaid@linaro.org>
Thu, 24 Jun 2021 21:35:10 +0000 (02:35 +0500)
committerMuhammad Omair Javaid <omair.javaid@linaro.org>
Thu, 24 Jun 2021 21:37:55 +0000 (02:37 +0500)
Commit e0f2744a115c41e8d295b93dd74b39535c852390 broke LLDB build.
This patch fixes the build. Tested on Arm/AArch64 Linux.

Differential Revision: https://reviews.llvm.org/D97281

lldb/include/lldb/Target/MemoryTagManager.h

index a0b94b1..f6383d8 100644 (file)
@@ -26,7 +26,7 @@ namespace lldb_private {
 
 class MemoryTagManager {
 public:
-  typedef Range<lldb::addr_t, size_t> TagRange;
+  typedef Range<lldb::addr_t, lldb::addr_t> TagRange;
 
   // Extract the logical tag from a pointer
   // The tag is returned as a plain value, with any shifts removed.