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
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp
index d54f969..dc0c55c 100644
--- a/lldb/source/Core/Module.cpp
+++ b/lldb/source/Core/Module.cpp
@@ -217,7 +217,7 @@
void
Module::DumpSymbolContext(Stream *s)
{
- s->Printf(", Module{0x%8.8x}", this);
+ s->Printf(", Module{%p}", this);
}
uint32_t