LLVM API Documentation
00001 //===-- DWARFCompileUnit.h --------------------------------------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 00010 #ifndef LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H 00011 #define LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H 00012 00013 #include "DWARFUnit.h" 00014 00015 namespace llvm { 00016 00017 class DWARFCompileUnit : public DWARFUnit { 00018 public: 00019 DWARFCompileUnit(DWARFContext& Context, const DWARFDebugAbbrev *DA, 00020 StringRef IS, StringRef RS, StringRef SS, StringRef SOS, 00021 StringRef AOS, const RelocAddrMap *M, bool LE, 00022 const DWARFUnitSectionBase &UnitSection) 00023 : DWARFUnit(Context, DA, IS, RS, SS, SOS, AOS, M, LE, UnitSection) {} 00024 void dump(raw_ostream &OS); 00025 // VTable anchor. 00026 ~DWARFCompileUnit() override; 00027 }; 00028 00029 } 00030 00031 #endif