xref: /freebsd/contrib/llvm-project/lldb/utils/TableGen/LLDBTableGenBackends.h (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
19dba64beSDimitry Andric //===- LLDBTableGenBackends.h -----------------------------------*- C++ -*-===//
20b57cec5SDimitry Andric //
30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60b57cec5SDimitry Andric //
70b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
80b57cec5SDimitry Andric //
90b57cec5SDimitry Andric // This file contains the declarations for all of the LLDB TableGen
109dba64beSDimitry Andric // backends. A "TableGen backend" is just a function.
119dba64beSDimitry Andric //
129dba64beSDimitry Andric // See "$LLVM_ROOT/utils/TableGen/TableGenBackends.h" for more info.
130b57cec5SDimitry Andric //
140b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
150b57cec5SDimitry Andric 
165ffd83dbSDimitry Andric #ifndef LLDB_UTILS_TABLEGEN_LLDBTABLEGENBACKENDS_H
175ffd83dbSDimitry Andric #define LLDB_UTILS_TABLEGEN_LLDBTABLEGENBACKENDS_H
180b57cec5SDimitry Andric 
199dba64beSDimitry Andric #include "llvm/ADT/StringRef.h"
200b57cec5SDimitry Andric 
210b57cec5SDimitry Andric namespace llvm {
220b57cec5SDimitry Andric class raw_ostream;
230b57cec5SDimitry Andric class RecordKeeper;
249dba64beSDimitry Andric class Record;
250b57cec5SDimitry Andric } // namespace llvm
260b57cec5SDimitry Andric 
270b57cec5SDimitry Andric using llvm::raw_ostream;
280b57cec5SDimitry Andric using llvm::RecordKeeper;
290b57cec5SDimitry Andric 
300b57cec5SDimitry Andric namespace lldb_private {
310b57cec5SDimitry Andric 
320b57cec5SDimitry Andric void EmitOptionDefs(RecordKeeper &RK, raw_ostream &OS);
339dba64beSDimitry Andric void EmitPropertyDefs(RecordKeeper &RK, raw_ostream &OS);
349dba64beSDimitry Andric void EmitPropertyEnumDefs(RecordKeeper &RK, raw_ostream &OS);
35*0fca6ea1SDimitry Andric int EmitSBAPIDWARFEnum(int argc, char **argv);
360b57cec5SDimitry Andric 
370b57cec5SDimitry Andric } // namespace lldb_private
380b57cec5SDimitry Andric 
390b57cec5SDimitry Andric #endif
40