summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/UnwindPlan.cpp
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2012-11-29 21:49:15 +0000
committerDaniel Malea <daniel.malea@intel.com>2012-11-29 21:49:15 +0000
commitd01b2953fac73977de3bc97e72ea04ad1ec6600f (patch)
tree1883eeb5c13d5a2aa557d50eb40a0e08f43a8ec1 /lldb/source/Symbol/UnwindPlan.cpp
parent05d3bf77a1af49e8f6513729e4ccce780ffae4bb (diff)
downloadbcm5719-llvm-d01b2953fac73977de3bc97e72ea04ad1ec6600f.tar.gz
bcm5719-llvm-d01b2953fac73977de3bc97e72ea04ad1ec6600f.zip
Resolve printf formatting warnings on Linux:
- use macros from inttypes.h for format strings instead of OS-specific types Patch from Matt Kopec! llvm-svn: 168945
Diffstat (limited to 'lldb/source/Symbol/UnwindPlan.cpp')
-rw-r--r--lldb/source/Symbol/UnwindPlan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Symbol/UnwindPlan.cpp b/lldb/source/Symbol/UnwindPlan.cpp
index 9bccaa8ea8f..c089a7bb8db 100644
--- a/lldb/source/Symbol/UnwindPlan.cpp
+++ b/lldb/source/Symbol/UnwindPlan.cpp
@@ -164,9 +164,9 @@ UnwindPlan::Row::Dump (Stream& s, const UnwindPlan* unwind_plan, Thread* thread,
const RegisterInfo *reg_info = unwind_plan->GetRegisterInfo (thread, GetCFARegister());
if (base_addr != LLDB_INVALID_ADDRESS)
- s.Printf ("0x%16.16llx: CFA=", base_addr + GetOffset());
+ s.Printf ("0x%16.16" PRIx64 ": CFA=", base_addr + GetOffset());
else
- s.Printf ("0x%8.8llx: CFA=", GetOffset());
+ s.Printf ("0x%8.8" PRIx64 ": CFA=", GetOffset());
if (reg_info)
s.Printf ("%s", reg_info->name);
OpenPOWER on IntegriCloud