[all-commits] [llvm/llvm-project] 42ecce: [lldb] Fix -Wformat in DWARFDebugAranges.cpp (NFC)
Jie Fu via All-commits
all-commits at lists.llvm.org
Wed Feb 22 15:32:07 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 42ecceb76bfad21acc589cae0f25110f28006c3a
https://github.com/llvm/llvm-project/commit/42ecceb76bfad21acc589cae0f25110f28006c3a
Author: Jie Fu <jiefu at tencent.com>
Date: 2023-02-23 (Thu, 23 Feb 2023)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
Log Message:
-----------
[lldb] Fix -Wformat in DWARFDebugAranges.cpp (NFC)
/data/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp:79:66: error: format specifies type 'unsigned int' but the argument has type 'lldb_private::RangeData<unsigned long, unsigned int, unsigned long>::DataType' (aka 'unsigned long') [-Werror,-Wformat]
LLDB_LOGF(log, "0x%8.8x: [0x%" PRIx64 " - 0x%" PRIx64 ")", entry->data,
~~~~~ ^~~~~~~~~~~
%8.8lx
/data/llvm-project/lldb/include/lldb/Utility/Log.h:348:27: note: expanded from macro 'LLDB_LOGF'
log_private->Printf(__VA_ARGS__); \
^~~~~~~~~~~
1 error generated.
More information about the All-commits
mailing list