llvm/lld/COFF/Symbols.cpp

//===- Symbols.cpp --------------------------------------------------------===//
//
// 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 "Symbols.h"
#include "COFFLinkerContext.h"
#include "InputFiles.h"
#include "lld/Common/ErrorHandler.h"
#include "lld/Common/Memory.h"
#include "lld/Common/Strings.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Demangle/Demangle.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"

usingnamespacellvm;
usingnamespacellvm::object;

usingnamespacelld::coff;

namespace lld {

static_assert;

// Returns a symbol name for an error message.
static std::string maybeDemangleSymbol(const COFFLinkerContext &ctx,
                                       StringRef symName) {}
std::string toString(const COFFLinkerContext &ctx, coff::Symbol &b) {}
std::string toCOFFString(const COFFLinkerContext &ctx,
                         const Archive::Symbol &b) {}

namespace coff {

void Symbol::computeName() {}

InputFile *Symbol::getFile() {}

bool Symbol::isLive() const {}

// MinGW specific.
void Symbol::replaceKeepingName(Symbol *other, size_t size) {}

COFFSymbolRef DefinedCOFF::getCOFFSymbol() {}

uint64_t DefinedAbsolute::getRVA() {}

static Chunk *makeImportThunk(COFFLinkerContext &ctx, DefinedImportData *s,
                              uint16_t machine) {}

DefinedImportThunk::DefinedImportThunk(COFFLinkerContext &ctx, StringRef name,
                                       DefinedImportData *s, uint16_t machine)
    :{}

Defined *Undefined::getWeakAlias() {}

bool Undefined::resolveWeakAlias() {}

MemoryBufferRef LazyArchive::getMemberBuffer() {}
} // namespace coff
} // namespace lld