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 | |
| 10 | #ifndef LLVM_DEBUGINFO_DWARFCOMPILEUNIT_H |
| 11 | #define LLVM_DEBUGINFO_DWARFCOMPILEUNIT_H |
| 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: |
Eric Christopher | da4b219 | 2013-01-02 23:52:13 +0000 | [diff] [blame] | 19 | DWARFCompileUnit(const DWARFDebugAbbrev *DA, StringRef IS, StringRef AS, |
Eric Christopher | 962c908 | 2013-01-15 23:56:56 +0000 | [diff] [blame] | 20 | StringRef RS, StringRef SS, StringRef SOS, StringRef AOS, |
David Blaikie | 07e2244 | 2013-09-23 22:44:40 +0000 | [diff] [blame] | 21 | const RelocAddrMap *M, bool LE) |
| 22 | : DWARFUnit(DA, IS, AS, RS, SS, SOS, AOS, M, LE) {} |
Benjamin Kramer | aa2f78f | 2011-09-13 19:42:23 +0000 | [diff] [blame] | 23 | void dump(raw_ostream &OS); |
David Blaikie | 07e2244 | 2013-09-23 22:44:40 +0000 | [diff] [blame] | 24 | // VTable anchor. |
Craig Topper | 7315602 | 2014-03-02 09:09:27 +0000 | [diff] [blame] | 25 | ~DWARFCompileUnit() override; |
Benjamin Kramer | aa2f78f | 2011-09-13 19:42:23 +0000 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | } |
| 29 | |
| 30 | #endif |