summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-01-25 00:07:51 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-02-12 09:58:13 +0000
commit10d3f603f0585926807d63639caa6121ed643e96 (patch)
tree4b71569b69386d8a18e0548a7e16dcf9132b60da /src/corelib/global
parentbcfb535e8252be547b4b11c9c4306aba09eff34e (diff)
QLogging: prevent qt_message from being inlined into each of 14 callers
Effects on Linux GCC 4.9 stripped release builds: text -2024B data +-0B relocs +-0 Change-Id: I1a315eb0f94ade2b40be62770c6ddcfc56da9ec0 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qlogging.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp
index 1a4221bd72..ca27ba26ca 100644
--- a/src/corelib/global/qlogging.cpp
+++ b/src/corelib/global/qlogging.cpp
@@ -248,6 +248,7 @@ static inline void convert_to_wchar_t_elided(wchar_t *d, size_t space, const cha
/*!
\internal
*/
+Q_NEVER_INLINE
static void qt_message(QtMsgType msgType, const QMessageLogContext &context, const char *msg,
va_list ap, QString &buf)
{