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 ||
lib/MC/ELFObjectWriter.cpp
  584   case ELF::STB_GLOBAL:
 1390   case ELF::STB_GLOBAL:
lib/MC/MCELFStreamer.cpp
  226     Symbol->setBinding(ELF::STB_GLOBAL);
  294     Symbol->setBinding(ELF::STB_GLOBAL);
lib/MC/MCSymbolELF.cpp
   52   case ELF::STB_GLOBAL:
   75       return ELF::STB_GLOBAL;
   86     return ELF::STB_GLOBAL;
   91   return ELF::STB_GLOBAL;
lib/ObjectYAML/ELFYAML.cpp
  581   ECase(STB_GLOBAL);
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  516     SymbolELF->setBinding(ELF::STB_GLOBAL);
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
   96     ELFSymbol->setBinding(ELF::STB_GLOBAL);
lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
  209       ELFSymbol->setBinding(ELF::STB_GLOBAL);
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
  131                         IsWeak ? llvm::ELF::STB_WEAK : llvm::ELF::STB_GLOBAL,
tools/lld/ELF/Driver.cpp
 1562       Undefined{nullptr, name, STB_GLOBAL, STV_DEFAULT, 0});
tools/lld/ELF/InputFiles.cpp
 1060     if (binding == STB_GLOBAL || binding == STB_WEAK ||
 1404   uint8_t binding = objSym.isWeak() ? STB_WEAK : STB_GLOBAL;
 1458   symtab->addSymbol(Defined{nullptr, saver.save(s + "_start"), STB_GLOBAL,
 1460   symtab->addSymbol(Defined{nullptr, saver.save(s + "_end"), STB_GLOBAL,
 1462   symtab->addSymbol(Defined{nullptr, saver.save(s + "_size"), STB_GLOBAL,
tools/lld/ELF/LTO.cpp
  202       sym->replace(Undefined{nullptr, sym->getName(), STB_GLOBAL, STV_DEFAULT,
tools/lld/ELF/LinkerScript.cpp
  182   Defined newSym(nullptr, cmd->name, STB_GLOBAL, visibility, STT_NOTYPE,
  198   Defined newSym(nullptr, cmd->name, STB_GLOBAL, visibility, STT_NOTYPE, 0, 0,
tools/lld/ELF/Symbols.cpp
  280     return STB_GLOBAL;
  559       newSym->binding == STB_GLOBAL)
tools/lld/ELF/Symbols.h
  401       : Symbol(LazyArchiveKind, &file, s.getName(), llvm::ELF::STB_GLOBAL,
  417       : Symbol(LazyObjectKind, &file, name, llvm::ELF::STB_GLOBAL,
tools/lld/ELF/Writer.cpp
  200                                    uint8_t binding = STB_GLOBAL) {
  211   Symbol *sym = symtab->addSymbol(Defined{nullptr, name, STB_GLOBAL, STV_HIDDEN,
  266     s->resolve(Defined{/*file=*/nullptr, gotSymName, STB_GLOBAL, STV_HIDDEN,
 1707                            0x800, STV_DEFAULT, STB_GLOBAL);
 1724       s->resolve(Defined{/*file=*/nullptr, s->getName(), STB_GLOBAL, STV_HIDDEN,
tools/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.cpp
  260     ENUM_TO_CSTR(STB_GLOBAL);
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
 2210     bool is_global = symbol.getBinding() == STB_GLOBAL;
tools/llvm-elfabi/ELFObjHandler.cpp
  268     if (!(Binding == STB_GLOBAL || Binding == STB_WEAK))
tools/llvm-nm/llvm-nm.cpp
  906   if (Binding != ELF::STB_GLOBAL && Binding != ELF::STB_LOCAL)
tools/llvm-objcopy/ELF/ELFConfig.cpp
   72             .CaseLower("global", [&SI] { SI.Bind = ELF::STB_GLOBAL; })
tools/llvm-objcopy/ELF/ELFConfig.h
   29   uint8_t Bind = ELF::STB_GLOBAL;
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  379       Sym.Binding = STB_GLOBAL;
  381     if (Config.SymbolsToWeaken.matches(Sym.Name) && Sym.Binding == STB_GLOBAL)
  384     if (Config.Weaken && Sym.Binding == STB_GLOBAL &&
tools/llvm-objcopy/ELF/Object.cpp
 1162   SymTab->addSymbol(Prefix + "_start", STB_GLOBAL, STT_NOTYPE, &DataSection,
 1164   SymTab->addSymbol(Prefix + "_end", STB_GLOBAL, STT_NOTYPE, &DataSection,
 1166   SymTab->addSymbol(Prefix + "_size", STB_GLOBAL, STT_NOTYPE, nullptr,
tools/llvm-readobj/ELFDumper.cpp
 1110     {"Global", "GLOBAL", ELF::STB_GLOBAL},