[all-commits] [llvm/llvm-project] 6099d5: [lldb] Support file and function names in LLDB_LOG...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Jun 6 12:24:52 PDT 2023


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

  Changed paths:
    M lldb/include/lldb/Utility/Log.h
    M lldb/source/Utility/Log.cpp
    M lldb/unittests/Utility/LogTest.cpp

  Log Message:
  -----------
  [lldb] Support file and function names in LLDB_LOGF macro

LLDB's logging machinery supports prepending log messages with the name
of the file and function that generates the log. However, currently this
functionality is limited to the LLDB_LOG macro. I meant to do this as a
follow up to D65128 but never got around to it.

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




More information about the All-commits mailing list