blob: d1853d80a38ca689f7810bdd6f4dd5d8189e154a [file] [log] [blame]
Benjamin Krameraa2f78f2011-09-13 19:42:23 +00001//===-- 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_DEBUGINFO_DWARFCOMPILEUNIT_H
11#define LLVM_DEBUGINFO_DWARFCOMPILEUNIT_H
12
David Blaikie07e22442013-09-23 22:44:40 +000013#include "DWARFUnit.h"
Benjamin Krameraa2f78f2011-09-13 19:42:23 +000014
15namespace llvm {
16
David Blaikie07e22442013-09-23 22:44:40 +000017class DWARFCompileUnit : public DWARFUnit {
Benjamin Krameraa2f78f2011-09-13 19:42:23 +000018public:
Eric Christopherda4b2192013-01-02 23:52:13 +000019 DWARFCompileUnit(const DWARFDebugAbbrev *DA, StringRef IS, StringRef AS,
Eric Christopher962c9082013-01-15 23:56:56 +000020 StringRef RS, StringRef SS, StringRef SOS, StringRef AOS,
David Blaikie07e22442013-09-23 22:44:40 +000021 const RelocAddrMap *M, bool LE)
22 : DWARFUnit(DA, IS, AS, RS, SS, SOS, AOS, M, LE) {}
Benjamin Krameraa2f78f2011-09-13 19:42:23 +000023 void dump(raw_ostream &OS);
David Blaikie07e22442013-09-23 22:44:40 +000024 // VTable anchor.
Craig Topper73156022014-03-02 09:09:27 +000025 ~DWARFCompileUnit() override;
Benjamin Krameraa2f78f2011-09-13 19:42:23 +000026};
27
28}
29
30#endif