From fd54b368ea4d1bd481ac4d203362c2a5556418d0 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Tue, 20 Sep 2011 21:44:10 +0000 Subject: Update declarations for all functions/methods that accept printf-style stdarg formats to use __attribute__ format so the compiler can flag incorrect uses. Fix all incorrect uses. Most of these are innocuous, a few were resulting in crashes. llvm-svn: 140185 --- lldb/source/Core/Module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Core/Module.cpp') diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp index d54f9699a49..dc0c55c483a 100644 --- a/lldb/source/Core/Module.cpp +++ b/lldb/source/Core/Module.cpp @@ -217,7 +217,7 @@ Module::CalculateSymbolContextModule () void Module::DumpSymbolContext(Stream *s) { - s->Printf(", Module{0x%8.8x}", this); + s->Printf(", Module{%p}", this); } uint32_t -- cgit v1.2.3