123456789101112131415161718192021222324252627282930313233343536373839 |
- #pragma once
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wunused-parameter"
- #endif
- //===- DWARFSection.h -------------------------------------------*- C++ -*-===//
- //
- // 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
- //
- //===----------------------------------------------------------------------===//
- #ifndef LLVM_DEBUGINFO_DWARF_DWARFSECTION_H
- #define LLVM_DEBUGINFO_DWARF_DWARFSECTION_H
- #include "llvm/ADT/StringRef.h"
- namespace llvm {
- struct DWARFSection {
- StringRef Data;
- uint64_t Address = 0;
- };
- struct SectionName {
- StringRef Name;
- bool IsNameUnique;
- };
- } // end namespace llvm
- #endif // LLVM_DEBUGINFO_DWARF_DWARFSECTION_H
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif
|