40 lines · c
1//===- LLDBTableGenBackends.h -----------------------------------*- C++ -*-===//2//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-exception6//7//===----------------------------------------------------------------------===//8//9// This file contains the declarations for all of the LLDB TableGen10// backends. A "TableGen backend" is just a function.11//12// See "$LLVM_ROOT/utils/TableGen/TableGenBackends.h" for more info.13//14//===----------------------------------------------------------------------===//15 16#ifndef LLDB_UTILS_TABLEGEN_LLDBTABLEGENBACKENDS_H17#define LLDB_UTILS_TABLEGEN_LLDBTABLEGENBACKENDS_H18 19#include "llvm/ADT/StringRef.h"20 21namespace llvm {22class raw_ostream;23class RecordKeeper;24class Record;25} // namespace llvm26 27using llvm::raw_ostream;28using llvm::RecordKeeper;29 30namespace lldb_private {31 32void EmitOptionDefs(const RecordKeeper &RK, raw_ostream &OS);33void EmitPropertyDefs(const RecordKeeper &RK, raw_ostream &OS);34void EmitPropertyEnumDefs(const RecordKeeper &RK, raw_ostream &OS);35int EmitSBAPIDWARFEnum(int argc, char **argv);36 37} // namespace lldb_private38 39#endif40