summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lldb/unittests/debugserver/debugserver_LogCallback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/llvm/lldb/unittests/debugserver/debugserver_LogCallback.cpp')
-rw-r--r--gnu/llvm/lldb/unittests/debugserver/debugserver_LogCallback.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/llvm/lldb/unittests/debugserver/debugserver_LogCallback.cpp b/gnu/llvm/lldb/unittests/debugserver/debugserver_LogCallback.cpp
new file mode 100644
index 00000000000..45a502f80df
--- /dev/null
+++ b/gnu/llvm/lldb/unittests/debugserver/debugserver_LogCallback.cpp
@@ -0,0 +1,17 @@
+//===-- debugserver_LogCallback.cpp -----------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// this function is defined in debugserver.cpp, but is needed to link the
+// debugserver Common library. It is for logging only, so it is left
+// unimplemented here.
+
+#include <stdint.h>
+#include <stdarg.h>
+
+void FileLogCallback(void *baton, uint32_t flags, const char *format,
+ va_list args) {}