Home
last modified time | relevance | path

Searched refs:CommonSymbol (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/lld/ELF/
H A DSymbols.h25 class CommonSymbol; variable
226 void resolve(Ctx &, const CommonSymbol &other);
408 class CommonSymbol : public Symbol {
410 CommonSymbol(Ctx &ctx, InputFile *file, StringRef name, uint8_t binding, in CommonSymbol() function
417 auto &s = static_cast<CommonSymbol &>(sym); in overwrite()
519 alignas(CommonSymbol) char b[sizeof(CommonSymbol)];
H A DSymbols.cpp40 AssertSymbol<CommonSymbol>(); in assertSymbols()
574 void Symbol::resolve(Ctx &ctx, const CommonSymbol &other) { in resolve()
585 if (CommonSymbol *oldSym = dyn_cast<CommonSymbol>(this)) { in resolve()
603 if (size > cast<CommonSymbol>(this)->size) in resolve()
604 cast<CommonSymbol>(this)->size = size; in resolve()
664 if (other.size > cast<CommonSymbol>(this)->size) in resolve()
665 cast<CommonSymbol>(this)->size = other.size; in resolve()
H A DInputFiles.cpp1173 sym->resolve(ctx, CommonSymbol{ctx, this, StringRef(), binding, stOther, in initializeSymbols()
1863 sym->resolve(ctx, CommonSymbol{ctx, &f, StringRef(), binding, visibility, in createBitcodeSymbol()
H A DDriver.cpp2521 auto *s = dyn_cast<CommonSymbol>(sym); in replaceCommonSymbols()
/freebsd/contrib/llvm-project/lld/MachO/
H A DSymbols.h238 class CommonSymbol : public Symbol {
240 CommonSymbol(StringRef name, InputFile *file, uint64_t size, uint32_t align, in CommonSymbol() function
359 alignas(CommonSymbol) char c[sizeof(CommonSymbol)];
H A DSymbolTable.cpp251 if (auto *common = dyn_cast<CommonSymbol>(s)) { in addCommon()
261 replaceSymbol<CommonSymbol>(s, name, file, size, align, isPrivateExtern); in addCommon()
H A DLTO.cpp138 } else if (const auto *common = dyn_cast<CommonSymbol>(sym)) { in add()
H A DDriver.cpp627 auto *common = dyn_cast<CommonSymbol>(sym); in replaceCommonSymbols()
/freebsd/tools/tools/shlib-compat/
H A Dshlib-compat.py199 class CommonSymbol(object): class
990 sym = CommonSymbol(origver.symbols[n], newver.symbols[n])