llvm/llvm/tools/dsymutil/RelocationMap.cpp

//===- tools/dsymutil/RelocationMap.cpp - Relocation map representation---===//
//
// 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
//
//===----------------------------------------------------------------------===//

#include "RelocationMap.h"

namespace llvm {

namespace dsymutil {

void RelocationMap::print(raw_ostream &OS) const {}

#ifndef NDEBUG
void RelocationMap::dump() const { print(errs()); }
#endif

void RelocationMap::addRelocationMapEntry(const ValidReloc &Relocation) {}

namespace {

struct YAMLContext {};

} // end anonymous namespace

ErrorOr<std::unique_ptr<RelocationMap>>
RelocationMap::parseYAMLRelocationMap(StringRef InputFile,
                                      StringRef PrependPath) {}

} // end namespace dsymutil

namespace yaml {

void MappingTraits<dsymutil::ValidReloc>::mapping(IO &io,
                                                  dsymutil::ValidReloc &VR) {}

void MappingTraits<dsymutil::RelocationMap>::mapping(
    IO &io, dsymutil::RelocationMap &RM) {}

void MappingTraits<std::unique_ptr<dsymutil::RelocationMap>>::mapping(
    IO &io, std::unique_ptr<dsymutil::RelocationMap> &RM) {}
} // end namespace yaml
} // end namespace llvm