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.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_DEBUGINFO_DWARFCOMPILEUNIT_H
|
|
|
|
#define LLVM_DEBUGINFO_DWARFCOMPILEUNIT_H
|
|
|
|
|
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-04-24 22:51:03 +00:00
|
|
|
DWARFCompileUnit(const DWARFDebugAbbrev *DA, StringRef IS, StringRef RS,
|
|
|
|
StringRef SS, StringRef SOS, StringRef AOS,
|
2013-09-23 22:44:40 +00:00
|
|
|
const RelocAddrMap *M, bool LE)
|
2014-04-24 22:51:03 +00:00
|
|
|
: DWARFUnit(DA, IS, RS, SS, SOS, AOS, M, LE) {}
|
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
|