[all-commits] [llvm/llvm-project] 2f18e5: [lldb] Silence GCC warnings about format not being...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Mar 23 05:12:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f18e51d8b9e02d689efc522a0784caed5b5a386
      https://github.com/llvm/llvm-project/commit/2f18e51d8b9e02d689efc522a0784caed5b5a386
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M lldb/include/lldb/Utility/Timer.h

  Log Message:
  -----------
  [lldb] Silence GCC warnings about format not being a string literal in LLDB_SCOPED_TIMER

Pass "%s" as the format string literal and LLVM_PRETTY_FUNCTION as
argument to it.

Differential Revision: https://reviews.llvm.org/D99120




More information about the All-commits mailing list