2017-03-01 02:14:23 +01:00
|
|
|
//===- DWARFSection.h -------------------------------------------*- C++ -*-===//
|
2014-10-08 01:45:11 +02:00
|
|
|
//
|
2019-01-19 09:50:56 +01:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2014-10-08 01:45:11 +02:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2017-03-01 02:14:23 +01:00
|
|
|
#ifndef LLVM_DEBUGINFO_DWARF_DWARFSECTION_H
|
|
|
|
#define LLVM_DEBUGINFO_DWARF_DWARFSECTION_H
|
2014-10-08 01:45:11 +02:00
|
|
|
|
2015-05-12 00:41:07 +02:00
|
|
|
#include "llvm/ADT/StringRef.h"
|
2014-10-08 01:45:11 +02:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
struct DWARFSection {
|
|
|
|
StringRef Data;
|
2021-04-15 13:06:20 +02:00
|
|
|
uint64_t Address = 0;
|
2017-07-20 00:27:28 +02:00
|
|
|
};
|
|
|
|
|
2017-08-15 17:54:43 +02:00
|
|
|
struct SectionName {
|
|
|
|
StringRef Name;
|
|
|
|
bool IsNameUnique;
|
|
|
|
};
|
|
|
|
|
2017-03-01 02:14:23 +01:00
|
|
|
} // end namespace llvm
|
2014-10-08 01:45:11 +02:00
|
|
|
|
2017-03-01 02:14:23 +01:00
|
|
|
#endif // LLVM_DEBUGINFO_DWARF_DWARFSECTION_H
|