blob: bb0004615d75970fef5313885a212ff733664dbe [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001//===- DWARFSection.h -------------------------------------------*- C++ -*-===//
2//
Andrew Walbran16937d02019-10-22 13:54:20 +01003// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01006//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_DEBUGINFO_DWARF_DWARFSECTION_H
10#define LLVM_DEBUGINFO_DWARF_DWARFSECTION_H
11
12#include "llvm/ADT/StringRef.h"
13
14namespace llvm {
15
16struct DWARFSection {
17 StringRef Data;
18};
19
20struct SectionName {
21 StringRef Name;
22 bool IsNameUnique;
23};
24
Andrew Walbran16937d02019-10-22 13:54:20 +010025struct SectionedAddress {
26 uint64_t Address;
27 uint64_t SectionIndex;
28};
29
Andrew Scull5e1ddfa2018-08-14 10:06:54 +010030} // end namespace llvm
31
32#endif // LLVM_DEBUGINFO_DWARF_DWARFSECTION_H