LibDebug: Break inclusion cycle through many forward-declarations

This commit is contained in:
Ben Wiederhake 2022-09-14 10:39:32 +02:00 committed by Brian Gianforcaro
commit 75673319ad
Notes: sideshowbarker 2024-07-17 07:05:31 +09:00
6 changed files with 23 additions and 6 deletions

View file

@ -7,7 +7,6 @@
#pragma once
#include "AttributeValue.h"
#include "CompilationUnit.h"
#include "DwarfTypes.h"
#include <AK/ByteBuffer.h>
#include <AK/NonnullOwnPtrVector.h>
@ -15,16 +14,20 @@
#include <AK/RedBlackTree.h>
#include <AK/RefCounted.h>
#include <AK/String.h>
#include <LibDebug/Dwarf/DIE.h>
#include <LibELF/Image.h>
namespace Debug::Dwarf {
class CompilationUnit;
class DwarfInfo {
AK_MAKE_NONCOPYABLE(DwarfInfo);
AK_MAKE_NONMOVABLE(DwarfInfo);
public:
explicit DwarfInfo(ELF::Image const&);
~DwarfInfo();
ReadonlyBytes debug_info_data() const { return m_debug_info_data; }
ReadonlyBytes abbreviation_data() const { return m_abbreviation_data; }