From 10d3f603f0585926807d63639caa6121ed643e96 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sun, 25 Jan 2015 00:07:51 +0100 Subject: 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 Reviewed-by: Thiago Macieira --- src/corelib/global/qlogging.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/corelib/global') 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) { -- cgit v1.2.3