#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 …;
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 { … }
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() { … }
}
}