2 * Copyright 2013, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
9 #include "DebugInfoEntries.h"
12 TypeUnit::TypeUnit(off_t headerOffset
, off_t contentOffset
,
13 off_t totalSize
, off_t abbreviationOffset
, off_t typeOffset
,
14 uint8 addressSize
, uint64 signature
, bool isDwarf64
)
16 BaseUnit(headerOffset
, contentOffset
, totalSize
, abbreviationOffset
,
17 addressSize
, isDwarf64
),
20 fSignature(signature
),
21 fTypeOffset(typeOffset
)
32 TypeUnit::SetUnitEntry(DIETypeUnit
* entry
)
39 TypeUnit::TypeEntry() const
46 TypeUnit::SetTypeEntry(DebugInfoEntry
* entry
)
53 TypeUnit::Kind() const
55 return dwarf_unit_kind_type
;