llvm/llvm/include/llvm/Object/SymbolicFile.h

//===- SymbolicFile.h - Interface that only provides symbols ----*- 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
//
//===----------------------------------------------------------------------===//
//
// This file declares the SymbolicFile interface.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_OBJECT_SYMBOLICFILE_H
#define LLVM_OBJECT_SYMBOLICFILE_H

#include "llvm/ADT/iterator_range.h"
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/Object/Binary.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/MemoryBufferRef.h"
#include <cinttypes>
#include <cstdint>
#include <cstring>
#include <iterator>
#include <memory>

namespace llvm {

class LLVMContext;
class raw_ostream;

namespace object {

DataRefImpl;

template <typename OStream>
OStream& operator<<(OStream &OS, const DataRefImpl &D) {}

inline bool operator==(const DataRefImpl &a, const DataRefImpl &b) {}

inline bool operator!=(const DataRefImpl &a, const DataRefImpl &b) {}

inline bool operator<(const DataRefImpl &a, const DataRefImpl &b) {}

template <class content_type> class content_iterator {};

class SymbolicFile;

/// This is a value type class that represents a single symbol in the list of
/// symbols in the object file.
class BasicSymbolRef {};

basic_symbol_iterator;

class SymbolicFile : public Binary {};

inline BasicSymbolRef::BasicSymbolRef(DataRefImpl SymbolP,
                                      const SymbolicFile *Owner)
    :{}

inline bool BasicSymbolRef::operator==(const BasicSymbolRef &Other) const {}

inline bool BasicSymbolRef::operator<(const BasicSymbolRef &Other) const {}

inline void BasicSymbolRef::moveNext() {}

inline Error BasicSymbolRef::printName(raw_ostream &OS) const {}

inline Expected<uint32_t> BasicSymbolRef::getFlags() const {}

inline DataRefImpl BasicSymbolRef::getRawDataRefImpl() const {}

inline const SymbolicFile *BasicSymbolRef::getObject() const {}

} // end namespace object
} // end namespace llvm

#endif // LLVM_OBJECT_SYMBOLICFILE_H