[lldb] Fix incorrect uses of formatv specifiers in LLDB_LOG
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 5 Jul 2023 18:26:25 +0000 (11:26 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 5 Jul 2023 18:27:52 +0000 (11:27 -0700)
commit520681e56d3ab9a9f187a1f9c805ff281b815d55
tree8333282ff77041d4581bf955b2481f7212151e16
parente0e36e3725b50ac690d1839f0e9476e93ff7988d
[lldb] Fix incorrect uses of formatv specifiers in LLDB_LOG

Fix incorrect uses of formatv specifiers in LLDB_LOG. Unlike Python,
arguments must be numbered. All the affected log statements take
llvm:Errors so use the LLDB_LOG_ERROR macro instead.

Differential revision: https://reviews.llvm.org/D154532
lldb/source/API/SBTarget.cpp
lldb/source/Core/Debugger.cpp
lldb/source/Core/ThreadedCommunication.cpp
lldb/source/Host/common/ProcessLaunchInfo.cpp
lldb/source/Target/Process.cpp