DWARFCompileUnit.h revision 36b56886974eae4f9c5ebc96befd3e7bfe5de338
1//===-- 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
13#include "DWARFUnit.h"
14
15namespace llvm {
16
17class DWARFCompileUnit : public DWARFUnit {
18public:
19  DWARFCompileUnit(const DWARFDebugAbbrev *DA, StringRef IS, StringRef AS,
20                   StringRef RS, StringRef SS, StringRef SOS, StringRef AOS,
21                   const RelocAddrMap *M, bool LE)
22      : DWARFUnit(DA, IS, AS, RS, SS, SOS, AOS, M, LE) {}
23  void dump(raw_ostream &OS);
24  // VTable anchor.
25  ~DWARFCompileUnit() override;
26};
27
28}
29
30#endif
31