DWARFCompileUnit.h 988 B

12345678910111213141516171819202122232425262728293031
  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. #ifndef LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
  10. #define LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
  11. #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
  12. namespace llvm {
  13. class DWARFCompileUnit : public DWARFUnit {
  14. public:
  15. DWARFCompileUnit(DWARFContext &Context, const DWARFSection &Section,
  16. const DWARFDebugAbbrev *DA, StringRef RS, StringRef SS,
  17. StringRef SOS, StringRef AOS, bool LE,
  18. const DWARFUnitSectionBase &UnitSection)
  19. : DWARFUnit(Context, Section, DA, RS, SS, SOS, AOS, LE, UnitSection) {}
  20. void dump(raw_ostream &OS);
  21. // VTable anchor.
  22. ~DWARFCompileUnit() override;
  23. };
  24. }
  25. #endif