[Lldb-commits] [lldb] cc05418 - [lldb][AArch64] Fix unpack tags test case

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 24 07:53:38 PDT 2021


Author: David Spickett
Date: 2021-06-24T15:53:23+01:00
New Revision: cc05418d98f3d232cc66f9065262200eaa4a14db

URL: https://github.com/llvm/llvm-project/commit/cc05418d98f3d232cc66f9065262200eaa4a14db
DIFF: https://github.com/llvm/llvm-project/commit/cc05418d98f3d232cc66f9065262200eaa4a14db.diff

LOG: [lldb][AArch64] Fix unpack tags test case

Use %zu to print size_t vars.

Added: 
    

Modified: 
    lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp b/lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp
index 964f0364d65e9..987a55e7e8575 100644
--- a/lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp
+++ b/lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp
@@ -74,8 +74,7 @@ MemoryTagManagerAArch64MTE::UnpackTagsData(const std::vector<uint8_t> &tags,
     return llvm::createStringError(
         llvm::inconvertibleErrorCode(),
         "Packed tag data size does not match expected number of tags. "
-        "Expected %" PRIu64 " tag(s) for %" PRIu64 " granules, got %" PRIu64
-        " tag(s).",
+        "Expected %zu tag(s) for %zu granules, got %zu tag(s).",
         granules, granules, num_tags);
   }
 


        


More information about the lldb-commits mailing list