//===- DWARFDebugLoc.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_DWARFDEBUGLOC_H #define LLVM_DEBUGINFO_DWARF_DWARFDEBUGLOC_H #include "llvm/ADT/SmallVector.h" #include "llvm/DebugInfo/DWARF/DWARFDataExtractor.h" #include "llvm/Support/Errc.h" #include <cstdint> namespace llvm { class DWARFUnit; class MCRegisterInfo; class raw_ostream; class DWARFObject; struct DIDumpOptions; struct DWARFLocationExpression; namespace object { struct SectionedAddress; } /// A single location within a location list. Entries are stored in the DWARF5 /// form even if they originally come from a DWARF<=4 location list. struct DWARFLocationEntry { … }; /// An abstract base class for various kinds of location tables (.debug_loc, /// .debug_loclists, and their dwo variants). class DWARFLocationTable { … }; class DWARFDebugLoc final : public DWARFLocationTable { … }; class DWARFDebugLoclists final : public DWARFLocationTable { … }; class ResolverError : public ErrorInfo<ResolverError> { … }; } // end namespace llvm #endif // LLVM_DEBUGINFO_DWARF_DWARFDEBUGLOC_H