[Lldb-commits] [lldb] be7d7ca - [lldb] Use portable format string PRIx64

Benjamin Kramer via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 13 13:52:18 PST 2023


Author: Benjamin Kramer
Date: 2023-02-13T22:45:21+01:00
New Revision: be7d7ca1101840fc8e19e0e48f9dc395da569d23

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

LOG: [lldb] Use portable format string PRIx64

Added: 
    

Modified: 
    lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
index a37499175858..113a8b352b66 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
@@ -76,8 +76,8 @@ void DWARFDebugAranges::Dump(Log *log) const {
   for (size_t i = 0; i < num_entries; ++i) {
     const RangeToDIE::Entry *entry = m_aranges.GetEntryAtIndex(i);
     if (entry)
-      LLDB_LOGF(log, "0x%8.8x: [0x%" PRIx64 " - 0x%" PRIx64 ")", entry->data,
-                entry->GetRangeBase(), entry->GetRangeEnd());
+      LLDB_LOGF(log, "0x%8.8" PRIx64 ": [0x%" PRIx64 " - 0x%" PRIx64 ")",
+                entry->data, entry->GetRangeBase(), entry->GetRangeEnd());
   }
 }
 


        


More information about the lldb-commits mailing list