Commit Graph

1 Commits

Author SHA1 Message Date
Arnold Schwaighofer
3d34fb3b07 IRGen: Fix linkage for shared declarations
They need external linkage not linkonce_odr which can only be used by defintions
not declarations.
This got exposed by clang imported protocol witness table declarations.
They get assigned shared linkage since they are potentially not unique.

rdar://26563441
2017-09-26 13:26:07 -07:00