blob: 2ed188e70c1fa1ee3bc4213374f11b1692f43551 [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:
Alexey Samsonov7682f812014-04-24 22:51:03 +000019 DWARFCompileUnit(const DWARFDebugAbbrev *DA, StringRef IS, StringRef RS,
20 StringRef SS, StringRef SOS, StringRef AOS,
David Blaikie07e22442013-09-23 22:44:40 +000021 const RelocAddrMap *M, bool LE)
Alexey Samsonov7682f812014-04-24 22:51:03 +000022 : DWARFUnit(DA, IS, 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