#include "Symbols.h"
#include "Driver.h"
#include "InputFiles.h"
#include "InputSection.h"
#include "OutputSections.h"
#include "SyntheticSections.h"
#include "Target.h"
#include "Writer.h"
#include "lld/Common/ErrorHandler.h"
#include "llvm/Demangle/Demangle.h"
#include "llvm/Support/Compiler.h"
#include <cstring>
usingnamespacellvm;
usingnamespacellvm::object;
usingnamespacellvm::ELF;
usingnamespacelld;
usingnamespacelld::elf;
static_assert …;
template <typename T> struct AssertSymbol { … };
LLVM_ATTRIBUTE_UNUSED static inline void assertSymbols() { … }
static std::string maybeDemangleSymbol(StringRef symName) { … }
std::string lld::toString(const elf::Symbol &sym) { … }
static uint64_t getSymVA(const Symbol &sym, int64_t addend) { … }
uint64_t Symbol::getVA(int64_t addend) const { … }
uint64_t Symbol::getGotVA() const { … }
uint64_t Symbol::getGotOffset() const { … }
uint64_t Symbol::getGotPltVA() const { … }
uint64_t Symbol::getGotPltOffset() const { … }
uint64_t Symbol::getPltVA() const { … }
uint64_t Symbol::getSize() const { … }
OutputSection *Symbol::getOutputSection() const { … }
void Symbol::parseSymbolVersion() { … }
void Symbol::extract() const { … }
uint8_t Symbol::computeBinding() const { … }
bool Symbol::includeInDynsym() const { … }
void elf::printTraceSymbol(const Symbol &sym, StringRef name) { … }
static void recordWhyExtract(const InputFile *reference,
const InputFile &extracted, const Symbol &sym) { … }
void elf::maybeWarnUnorderableSymbol(const Symbol *sym) { … }
bool elf::computeIsPreemptible(const Symbol &sym) { … }
void Symbol::mergeProperties(const Symbol &other) { … }
void Symbol::resolve(const Undefined &other) { … }
bool Symbol::shouldReplace(const Defined &other) const { … }
void elf::reportDuplicate(const Symbol &sym, const InputFile *newFile,
InputSectionBase *errSec, uint64_t errOffset) { … }
void Symbol::checkDuplicate(const Defined &other) const { … }
void Symbol::resolve(const CommonSymbol &other) { … }
void Symbol::resolve(const Defined &other) { … }
void Symbol::resolve(const LazySymbol &other) { … }
void Symbol::resolve(const SharedSymbol &other) { … }
void Defined::overwrite(Symbol &sym) const { … }