Benjamin Kramer | aa2f78f | 2011-09-13 19:42:23 +0000 | [diff] [blame] | 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 | |
Benjamin Kramer | a7c40ef | 2014-08-13 16:26:38 +0000 | [diff] [blame] | 10 | #ifndef LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H |
| 11 | #define LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H |
Benjamin Kramer | aa2f78f | 2011-09-13 19:42:23 +0000 | [diff] [blame] | 12 | |
David Blaikie | 07e2244 | 2013-09-23 22:44:40 +0000 | [diff] [blame] | 13 | #include "DWARFUnit.h" |
Benjamin Kramer | aa2f78f | 2011-09-13 19:42:23 +0000 | [diff] [blame] | 14 | |
| 15 | namespace llvm { |
| 16 | |
David Blaikie | 07e2244 | 2013-09-23 22:44:40 +0000 | [diff] [blame] | 17 | class DWARFCompileUnit : public DWARFUnit { |
Benjamin Kramer | aa2f78f | 2011-09-13 19:42:23 +0000 | [diff] [blame] | 18 | public: |
Alexey Samsonov | 4b4d64b | 2014-10-08 00:24:41 +0000 | [diff] [blame] | 19 | DWARFCompileUnit(DWARFContext &Context, const DWARFSection &Section, |
| 20 | const DWARFDebugAbbrev *DA, StringRef RS, StringRef SS, |
| 21 | StringRef SOS, StringRef AOS, bool LE, |
Frederic Riss | 4e126a0 | 2014-09-15 07:50:27 +0000 | [diff] [blame] | 22 | const DWARFUnitSectionBase &UnitSection) |
Alexey Samsonov | 4b4d64b | 2014-10-08 00:24:41 +0000 | [diff] [blame] | 23 | : DWARFUnit(Context, Section, DA, RS, SS, SOS, AOS, LE, UnitSection) {} |
Benjamin Kramer | aa2f78f | 2011-09-13 19:42:23 +0000 | [diff] [blame] | 24 | void dump(raw_ostream &OS); |
David Blaikie | 07e2244 | 2013-09-23 22:44:40 +0000 | [diff] [blame] | 25 | // VTable anchor. |
Craig Topper | 7315602 | 2014-03-02 09:09:27 +0000 | [diff] [blame] | 26 | ~DWARFCompileUnit() override; |
Benjamin Kramer | aa2f78f | 2011-09-13 19:42:23 +0000 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | } |
| 30 | |
| 31 | #endif |