1 //===-- DWARFCompileUnit.h --------------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H 11 #define LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H 12 13 #include "llvm/DebugInfo/DWARFUnit.h" 14 15 namespace llvm { 16 17 class DWARFCompileUnit : public DWARFUnit { 18 public: DWARFCompileUnit(DWARFContext & Context,const DWARFSection & Section,const DWARFDebugAbbrev * DA,StringRef RS,StringRef SS,StringRef SOS,StringRef AOS,bool LE,const DWARFUnitSectionBase & UnitSection)19 DWARFCompileUnit(DWARFContext &Context, const DWARFSection &Section, 20 const DWARFDebugAbbrev *DA, StringRef RS, StringRef SS, 21 StringRef SOS, StringRef AOS, bool LE, 22 const DWARFUnitSectionBase &UnitSection) 23 : DWARFUnit(Context, Section, DA, RS, SS, SOS, AOS, LE, UnitSection) {} 24 void dump(raw_ostream &OS); 25 // VTable anchor. 26 ~DWARFCompileUnit() override; 27 }; 28 29 } 30 31 #endif 32