//===-- llvm/CodeGen/DwarfUnit.h - Dwarf Compile Unit ---*- 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 file contains support for writing dwarf compile unit. // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DWARFUNIT_H #define LLVM_LIB_CODEGEN_ASMPRINTER_DWARFUNIT_H #include "DwarfDebug.h" #include "llvm/ADT/DenseMap.h" #include "llvm/CodeGen/AsmPrinter.h" #include "llvm/CodeGen/DIE.h" #include "llvm/Target/TargetMachine.h" #include <optional> #include <string> namespace llvm { class ConstantFP; class ConstantInt; class DwarfCompileUnit; class MCDwarfDwoLineTable; class MCSymbol; //===----------------------------------------------------------------------===// /// This dwarf writer support class manages information associated with a /// source file. class DwarfUnit : public DIEUnit { … }; class DwarfTypeUnit final : public DwarfUnit { … }; } // end llvm namespace #endif