1351290Sdim//===-- DWARFTypeUnit.cpp ---------------------------------------*- C++ -*-===//
2351290Sdim//
3351290Sdim// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4351290Sdim// See https://llvm.org/LICENSE.txt for license information.
5351290Sdim// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6351290Sdim//
7351290Sdim//===----------------------------------------------------------------------===//
8351290Sdim
9351290Sdim#include "DWARFTypeUnit.h"
10351290Sdim
11351290Sdim#include "SymbolFileDWARF.h"
12351290Sdim#include "lldb/Utility/Stream.h"
13351290Sdim
14351290Sdimusing namespace lldb;
15351290Sdimusing namespace lldb_private;
16351290Sdim
17351290Sdimvoid DWARFTypeUnit::Dump(Stream *s) const {
18351290Sdim  s->Printf("0x%8.8x: Type Unit: length = 0x%8.8x, version = 0x%4.4x, "
19351290Sdim            "abbr_offset = 0x%8.8x, addr_size = 0x%2.2x (next CU at "
20351290Sdim            "{0x%8.8x})\n",
21351290Sdim            GetOffset(), GetLength(), GetVersion(), GetAbbrevOffset(),
22351290Sdim            GetAddressByteSize(), GetNextUnitOffset());
23351290Sdim}
24