aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/LLDBTableGenBackends.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-08-25 20:29:50 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-08-25 20:29:50 +0000
commitfdb00c4408990a0a63ef7f496d809ce59f263bc5 (patch)
tree9bc380d17aeef3f6c1ac73bb7690ec16d1f04ae0 /utils/TableGen/LLDBTableGenBackends.h
parent5f29bb8a675e8f96452b632e7129113f7dec850e (diff)
downloadsrc-vendor/lldb/lldb-trunk-r366426.tar.gz
src-vendor/lldb/lldb-trunk-r366426.zip
Import missed sources for lldb-specific TableGen tool.vendor/lldb/lldb-trunk-r366426
Diffstat (limited to 'utils/TableGen/LLDBTableGenBackends.h')
-rw-r--r--utils/TableGen/LLDBTableGenBackends.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/utils/TableGen/LLDBTableGenBackends.h b/utils/TableGen/LLDBTableGenBackends.h
new file mode 100644
index 000000000000..eb14d80c5627
--- /dev/null
+++ b/utils/TableGen/LLDBTableGenBackends.h
@@ -0,0 +1,34 @@
+//===- TableGen.cpp - Top-Level TableGen implementation for Clang ---------===//
+//
+// 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 file contains the declarations for all of the LLDB TableGen
+// backends. A "TableGen backend" is just a function. See
+// "$LLVM_ROOT/utils/TableGen/TableGenBackends.h" for more info.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LLDB_UTILS_TABLEGEN_TABLEGENBACKENDS_H
+#define LLVM_LLDB_UTILS_TABLEGEN_TABLEGENBACKENDS_H
+
+#include <string>
+
+namespace llvm {
+class raw_ostream;
+class RecordKeeper;
+} // namespace llvm
+
+using llvm::raw_ostream;
+using llvm::RecordKeeper;
+
+namespace lldb_private {
+
+void EmitOptionDefs(RecordKeeper &RK, raw_ostream &OS);
+
+} // namespace lldb_private
+
+#endif