1 //===-- DWARFCompileUnit.h --------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
11 #define LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
13 #include "DWARFUnit.h"
17 class DWARFCompileUnit : public DWARFUnit {
19 DWARFCompileUnit(DWARFContext& Context, const DWARFDebugAbbrev *DA,
20 StringRef IS, StringRef RS, StringRef SS, StringRef SOS,
21 StringRef AOS, const RelocAddrMap *M, bool LE,
22 const DWARFUnitSectionBase &UnitSection)
23 : DWARFUnit(Context, DA, IS, RS, SS, SOS, AOS, M, LE, UnitSection) {}
24 void dump(raw_ostream &OS);
26 ~DWARFCompileUnit() override;