lld/MachO/SyntheticSections.cpp
static int16_t ordinalForDylibSymbol(const DylibSymbol &dysym) {
  if (config->namespaceKind == NamespaceKind::flat || dysym.isDynamicLookup())
    return static_cast<int16_t>(BIND_SPECIAL_DYLIB_FLAT_LOOKUP);
  assert(dysym.getFile()->isReferenced());
  return dysym.getFile()->ordinal;
}
// Non-weak bindings need to have their dylib ordinal encoded as well.
Non-weak bindings need to have their dylib ordinal encoded as well.
Non - weak bindings need to have their dylib ordinal encoded as well .
static int16_t ordinalForDylibSymbol(const DylibSymbol &dysym) {
  if (config->namespaceKind == NamespaceKind::flat || dysym.isDynamicLookup())
    return static_cast<int16_t>(BIND_SPECIAL_DYLIB_FLAT_LOOKUP);
  assert(dysym.getFile()->isReferenced());
  return dysym.getFile()->ordinal;
}
static int16_t ordinalForDylibSymbol ( const DylibSymbol & dysym ) { if ( config -> namespaceKind == NamespaceKind :: flat || dysym . isDynamicLookup ( ) ) return static_cast < int16_t > ( BIND_SPECIAL_DYLIB_FLAT_LOOKUP ) ; assert ( dysym . getFile ( ) -> isReferenced ( ) ) ; return dysym . getFile ( ) -> ordinal ; }
Non-weak bindings need to have their dylib ordinal encoded as well.
Non - weak bindings need to have their dylib ordinal encoded as well .