]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/include/llvm/DebugInfo/DWARF/DWARFSection.h
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm / include / llvm / DebugInfo / DWARF / DWARFSection.h
1 //===- DWARFSection.h -------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLVM_DEBUGINFO_DWARF_DWARFSECTION_H
11 #define LLVM_DEBUGINFO_DWARF_DWARFSECTION_H
12
13 #include "llvm/ADT/StringRef.h"
14
15 namespace llvm {
16
17 struct DWARFSection {
18   StringRef Data;
19 };
20
21 struct SectionName {
22   StringRef Name;
23   bool IsNameUnique;
24 };
25
26 struct SectionedAddress {
27   uint64_t Address;
28   uint64_t SectionIndex;
29 };
30
31 } // end namespace llvm
32
33 #endif // LLVM_DEBUGINFO_DWARF_DWARFSECTION_H