Without this all test would pass if the visibility checks were removed from SymbolTable::addShared and SymbolTable::addUndefined. llvm-svn: 322583