summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qnativesocketengine_unix.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2023-08-23 12:04:05 -0700
committerThiago Macieira <thiago.macieira@intel.com>2023-10-24 04:04:19 -0700
commit36805fc3c4383e8cf7b8f893d7402647da6deaf5 (patch)
treefc14bd92fddebdb75671ca1643aaad13118048b4 /src/network/socket/qnativesocketengine_unix.cpp
parent232f4f14be2ea95ceb5826ca31fa6fe911abe27f (diff)
QLogging: call a non-exported message-formatting function
Instead of the exported qFormatLogMessage() that users can use. Because it's a local symbol (static function), neither dladdr() nor backtrace_symbols() functions should be able to see them, making their exclusion from the list a simpler check. This doesn't apply when the user calls qFormatLogMessage() in their own handler, unless the compiler either inlines or tail-calls the new, internal function. The latter case is very likely. Change-Id: Ifa1111900d6945ea8e05fffd177e187f55512725 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Diffstat (limited to 'src/network/socket/qnativesocketengine_unix.cpp')
0 files changed, 0 insertions, 0 deletions