[Lldb-commits] [lldb] r340562 - Fix format string issue introduced in r340548
Walter Lee via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 23 11:26:27 PDT 2018
Author: waltl
Date: Thu Aug 23 11:26:26 2018
New Revision: 340562
URL: http://llvm.org/viewvc/llvm-project?rev=340562&view=rev
Log:
Fix format string issue introduced in r340548
Make format string portable.
Modified:
lldb/trunk/source/Plugins/Language/CPlusPlus/LibCxx.cpp
Modified: lldb/trunk/source/Plugins/Language/CPlusPlus/LibCxx.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Language/CPlusPlus/LibCxx.cpp?rev=340562&r1=340561&r2=340562&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Language/CPlusPlus/LibCxx.cpp (original)
+++ lldb/trunk/source/Plugins/Language/CPlusPlus/LibCxx.cpp Thu Aug 23 11:26:26 2018
@@ -126,7 +126,7 @@ bool lldb_private::formatters::LibcxxFun
auto default_print_on_exit = llvm::make_scope_exit(
[&found_wrapped_function, &stream, &member__f_pointer_value]() {
if (!found_wrapped_function)
- stream.Printf(" __f_ = %llu", member__f_pointer_value);
+ stream.Printf(" __f_ = %" PRIu64, member__f_pointer_value);
});
lldb::addr_t address_after_vtable = member__f_pointer_value + address_size;
More information about the lldb-commits
mailing list