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.h32 class CommonSymbol; variable
247 void resolve(const CommonSymbol &other);
411 class CommonSymbol : public Symbol {
413 CommonSymbol(InputFile *file, StringRef name, uint8_t binding, in CommonSymbol() function
421 auto &s = static_cast<CommonSymbol &>(sym); in overwrite()
563 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.cpp1162 CommonSymbol{this, StringRef(), binding, stOther, type, value, size}); in initializeSymbols()
1762 sym->resolve(CommonSymbol{&f, StringRef(), binding, visibility, STT_OBJECT, in createBitcodeSymbol()
H A DDriver.cpp2345 auto *s = dyn_cast<CommonSymbol>(sym); in replaceCommonSymbols()
/freebsd/contrib/llvm-project/lld/MachO/
H A DSymbols.h239 class CommonSymbol : public Symbol {
241 CommonSymbol(StringRefZ name, InputFile *file, uint64_t size, uint32_t align, in CommonSymbol() function
359 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.cpp632 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])