[Lldb-commits] [PATCH] D151762: [lldb] Remove __FUNCTION__ from log messages in lldbHost (NFC)

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue May 30 16:04:40 PDT 2023


JDevlieghere created this revision.
JDevlieghere added a reviewer: LLDB.
Herald added a project: All.
JDevlieghere requested review of this revision.

LLDB's logging infrastructure supports prepending log messages with the name of the file and function that generates the log (see `help log enable`). Therefore it's unnecessary to include the current `__FUNCTION__` in the log message itself. This patch removes `__FUNCTION__` from log messages in the `Host` library.


https://reviews.llvm.org/D151762

Files:
  lldb/source/Host/common/HostInfoBase.cpp
  lldb/source/Host/common/NativeRegisterContext.cpp
  lldb/source/Host/common/TCPSocket.cpp
  lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151762.526834.patch
Type: text/x-patch
Size: 5031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230530/dedfd094/attachment.bin>


More information about the lldb-commits mailing list