reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Object/ELFObjectFile.h
  363         (Binding == ELF::STB_GLOBAL || Binding == ELF::STB_WEAK ||
  617   if (ESym->getBinding() == ELF::STB_WEAK)
lib/MC/ELFObjectWriter.cpp
  586   case ELF::STB_WEAK:
 1385   case ELF::STB_WEAK:
lib/MC/MCELFStreamer.cpp
  232     Symbol->setBinding(ELF::STB_WEAK);
  485     cast<MCSymbolELF>(S)->setBinding(ELF::STB_WEAK);
lib/MC/MCSymbolELF.cpp
   55   case ELF::STB_WEAK:
   77       return ELF::STB_WEAK;
   88     return ELF::STB_WEAK;
lib/ObjectYAML/ELFYAML.cpp
  582   ECase(STB_WEAK);
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
  131                         IsWeak ? llvm::ELF::STB_WEAK : llvm::ELF::STB_GLOBAL,
  288           if (Symbol.Binding == llvm::ELF::STB_WEAK)
tools/lld/ELF/Driver.cpp
 1441     s->replace(Undefined{nullptr, s->getName(), STB_WEAK, s->stOther, s->type});
tools/lld/ELF/InputFiles.cpp
 1060     if (binding == STB_GLOBAL || binding == STB_WEAK ||
 1404   uint8_t binding = objSym.isWeak() ? STB_WEAK : STB_GLOBAL;
tools/lld/ELF/Symbols.cpp
  408       (isUndefined() && other.binding != STB_WEAK && other.discardedSecIdx)) {
  419     if (other.binding == STB_WEAK) {
  420       binding = STB_WEAK;
  495     if (other.binding != STB_WEAK || !referenced)
  639     binding = STB_WEAK;
tools/lld/ELF/Symbols.h
  148   bool isWeak() const { return binding == llvm::ELF::STB_WEAK; }
tools/lld/ELF/Writer.cpp
 1005       Out::elfHeader, 0, STV_HIDDEN, STB_WEAK);
 1009       Out::elfHeader, 0, STV_HIDDEN, STB_WEAK);
 1692     symtab->addSymbol(Defined{/*file=*/nullptr, "_DYNAMIC", STB_WEAK,
tools/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.cpp
  261     ENUM_TO_CSTR(STB_WEAK);
tools/llvm-elfabi/ELFObjHandler.cpp
  238   if (Binding == STB_WEAK)
  268     if (!(Binding == STB_GLOBAL || Binding == STB_WEAK))
tools/llvm-nm/llvm-nm.cpp
  905   assert(Binding != ELF::STB_WEAK && "STB_WEAK not tested in calling function");
tools/llvm-objcopy/ELF/ELFConfig.cpp
   74             .CaseLower("weak", [&SI] { SI.Bind = ELF::STB_WEAK; })
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  382       Sym.Binding = STB_WEAK;
  386       Sym.Binding = STB_WEAK;
tools/llvm-readobj/ELFDumper.cpp
 1111     {"Weak",   "WEAK",   ELF::STB_WEAK},