[all-commits] [llvm/llvm-project] 7cd1d4: [lldb] Remove __FUNCTION__ from log messages in ll...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Jun 6 13:03:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cd1d4231a7c83e719b83c6abbe2d479baa03808
      https://github.com/llvm/llvm-project/commit/7cd1d4231a7c83e719b83c6abbe2d479baa03808
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M lldb/source/Host/common/HostInfoBase.cpp
    M lldb/source/Host/common/NativeRegisterContext.cpp
    M lldb/source/Host/common/TCPSocket.cpp
    M lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm

  Log Message:
  -----------
  [lldb] Remove __FUNCTION__ from log messages in lldbHost (NFC)

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.

Differential revision: https://reviews.llvm.org/D151762




More information about the All-commits mailing list