//===- DWARFObject.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_DWARFOBJECT_H #define LLVM_DEBUGINFO_DWARF_DWARFOBJECT_H #include "llvm/DebugInfo/DWARF/DWARFRelocMap.h" #include "llvm/DebugInfo/DWARF/DWARFSection.h" #include "llvm/Object/ObjectFile.h" #include <optional> namespace llvm { // This is responsible for low level access to the object file. It // knows how to find the required sections and compute relocated // values. // The default implementations of the get<Section> methods return dummy values. // This is to allow clients that only need some of those to implement just the // ones they need. We can't use unreachable for as many cases because the parser // implementation is eager and will call some of these methods even if the // result is not used. class DWARFObject { … }; } // namespace llvm #endif