Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DSymbols.h32 class CommonSymbol; variable
238 void resolve(const CommonSymbol &other);
393 class CommonSymbol : public Symbol {
395 CommonSymbol(InputFile *file, StringRef name, uint8_t binding, in CommonSymbol() function
403 auto &s = static_cast<CommonSymbol &>(sym); in overwrite()
545 alignas(CommonSymbol) char b[sizeof(CommonSymbol)];
H A DSymbols.cpp40 AssertSymbol<CommonSymbol>(); in assertSymbols()
577 void Symbol::resolve(const CommonSymbol &other) { in resolve()
590 if (CommonSymbol *oldSym = dyn_cast<CommonSymbol>(this)) { in resolve()
608 if (size > cast<CommonSymbol>(this)->size) in resolve()
609 cast<CommonSymbol>(this)->size = size; in resolve()
673 if (other.size > cast<CommonSymbol>(this)->size) in resolve()
674 cast<CommonSymbol>(this)->size = other.size; in resolve()
H A DInputFiles.cpp1104 CommonSymbol{this, StringRef(), binding, stOther, type, value, size}); in initializeSymbols()
1704 sym->resolve(CommonSymbol{&f, StringRef(), binding, visibility, STT_OBJECT, in createBitcodeSymbol()
H A DDriver.cpp2213 auto *s = dyn_cast<CommonSymbol>(sym); in replaceCommonSymbols()
/freebsd-14.2/contrib/llvm-project/lld/MachO/
H A DSymbols.h234 class CommonSymbol : public Symbol {
236 CommonSymbol(StringRefZ name, InputFile *file, uint64_t size, uint32_t align, in CommonSymbol() function
354 alignas(CommonSymbol) char c[sizeof(CommonSymbol)];
H A DSymbolTable.cpp246 if (auto *common = dyn_cast<CommonSymbol>(s)) { in addCommon()
256 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.cpp599 auto *common = dyn_cast<CommonSymbol>(sym); in replaceCommonSymbols()
/freebsd-14.2/tools/tools/shlib-compat/
H A Dshlib-compat.py199 class CommonSymbol(object): class
990 sym = CommonSymbol(origver.symbols[n], newver.symbols[n])