1 //===- LLDBTableGenBackends.h -----------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file contains the declarations for all of the LLDB TableGen
10 // backends. A "TableGen backend" is just a function.
12 // See "$LLVM_ROOT/utils/TableGen/TableGenBackends.h" for more info.
14 //===----------------------------------------------------------------------===//
16 #ifndef LLDB_UTILS_TABLEGEN_LLDBTABLEGENBACKENDS_H
17 #define LLDB_UTILS_TABLEGEN_LLDBTABLEGENBACKENDS_H
19 #include "llvm/ADT/StringRef.h"
27 using llvm::raw_ostream
;
28 using llvm::RecordKeeper
;
30 namespace lldb_private
{
32 void EmitOptionDefs(const RecordKeeper
&RK
, raw_ostream
&OS
);
33 void EmitPropertyDefs(const RecordKeeper
&RK
, raw_ostream
&OS
);
34 void EmitPropertyEnumDefs(const RecordKeeper
&RK
, raw_ostream
&OS
);
35 int EmitSBAPIDWARFEnum(int argc
, char **argv
);
37 } // namespace lldb_private