LLVM  4.0.0
DWARFCompileUnit.h
Go to the documentation of this file.
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_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
11 #define LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
12 
14 
15 namespace llvm {
16 
17 class DWARFCompileUnit : public DWARFUnit {
18 public:
20  const DWARFDebugAbbrev *DA, StringRef RS, StringRef SS,
21  StringRef SOS, StringRef AOS, StringRef LS, bool LE,
22  bool IsDWO, const DWARFUnitSectionBase &UnitSection,
23  const DWARFUnitIndex::Entry *Entry)
24  : DWARFUnit(Context, Section, DA, RS, SS, SOS, AOS, LS, LE, IsDWO,
25  UnitSection, Entry) {}
26  void dump(raw_ostream &OS);
28  // VTable anchor.
29  ~DWARFCompileUnit() override;
30 };
31 
32 }
33 
34 #endif
~DWARFCompileUnit() override
DWARFSectionKind
static const DWARFSectionKind Section
void dump(raw_ostream &OS)
DWARFContext This data structure is the top level entity that deals with dwarf debug information pars...
Definition: DWARFContext.h:52
DWARFCompileUnit(DWARFContext &Context, const DWARFSection &Section, const DWARFDebugAbbrev *DA, StringRef RS, StringRef SS, StringRef SOS, StringRef AOS, StringRef LS, bool LE, bool IsDWO, const DWARFUnitSectionBase &UnitSection, const DWARFUnitIndex::Entry *Entry)
Base class for all DWARFUnitSection classes.
Definition: DWARFUnit.h:39
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition: raw_ostream.h:44
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:47