mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:37:35 +00:00
LibDebug: Move Dwarf::AttributeValue to a separate file
This commit is contained in:
parent
fea9bb8c51
commit
edd79ddd00
3 changed files with 43 additions and 29 deletions
|
@ -6,8 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "CompilationUnit.h"
|
||||
#include "DwarfInfo.h"
|
||||
#include "AttributeValue.h"
|
||||
#include "DwarfTypes.h"
|
||||
#include <AK/Function.h>
|
||||
#include <AK/NonnullOwnPtr.h>
|
||||
|
@ -21,7 +20,7 @@ class CompilationUnit;
|
|||
// DIE = Debugging Information Entry
|
||||
class DIE {
|
||||
public:
|
||||
DIE(const CompilationUnit&, u32 offset);
|
||||
DIE(const CompilationUnit&, u32 offset, Optional<u32> parent_offset = {});
|
||||
|
||||
u32 offset() const { return m_offset; }
|
||||
u32 size() const { return m_size; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue