2011-09-13 19:42:23 +00:00
|
|
|
//===-- DWARFCompileUnit.h --------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-13 16:26:38 +00:00
|
|
|
#ifndef LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
|
|
|
|
#define LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
|
2011-09-13 19:42:23 +00:00
|
|
|
|
2013-09-23 22:44:40 +00:00
|
|
|
#include "DWARFUnit.h"
|
2011-09-13 19:42:23 +00:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2013-09-23 22:44:40 +00:00
|
|
|
class DWARFCompileUnit : public DWARFUnit {
|
2011-09-13 19:42:23 +00:00
|
|
|
public:
|
2014-10-08 00:24:41 +00:00
|
|
|
DWARFCompileUnit(DWARFContext &Context, const DWARFSection &Section,
|
|
|
|
const DWARFDebugAbbrev *DA, StringRef RS, StringRef SS,
|
|
|
|
StringRef SOS, StringRef AOS, bool LE,
|
2014-09-15 07:50:27 +00:00
|
|
|
const DWARFUnitSectionBase &UnitSection)
|
2014-10-08 00:24:41 +00:00
|
|
|
: DWARFUnit(Context, Section, DA, RS, SS, SOS, AOS, LE, UnitSection) {}
|
2011-09-13 19:42:23 +00:00
|
|
|
void dump(raw_ostream &OS);
|
2013-09-23 22:44:40 +00:00
|
|
|
// VTable anchor.
|
2014-03-02 09:09:27 +00:00
|
|
|
~DWARFCompileUnit() override;
|
2011-09-13 19:42:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|