Skip to content

Mark the runtime's reimplementation of fixed_seed_override weak#14791

Merged
swift-ci merged 1 commit intoswiftlang:masterfrom
lattner:weak-hashing
Feb 23, 2018
Merged

Mark the runtime's reimplementation of fixed_seed_override weak#14791
swift-ci merged 1 commit intoswiftlang:masterfrom
lattner:weak-hashing

Conversation

@lattner
Copy link
Copy Markdown
Contributor

@lattner lattner commented Feb 22, 2018

Mark the runtime's reimplementation of
llvm::hashing::detail::fixed_seed_override as weak in case it is
statically linked into an app that includes a real definition from
LLVM.

This was discussed on swift-dev.

llvm::hashing::detail::fixed_seed_override as weak in case it is
staticly linked into an app that includes a real definition from
LLVM.
@lattner lattner requested a review from jckarter February 22, 2018 22:59
@jckarter
Copy link
Copy Markdown
Contributor

LGTM.

@lattner
Copy link
Copy Markdown
Contributor Author

lattner commented Feb 23, 2018

@swift-ci please test and merge

1 similar comment
@lattner
Copy link
Copy Markdown
Contributor Author

lattner commented Feb 23, 2018

@swift-ci please test and merge

@swift-ci swift-ci merged commit 5e031d0 into swiftlang:master Feb 23, 2018
@lattner lattner deleted the weak-hashing branch February 23, 2018 07:29
@jrose-apple
Copy link
Copy Markdown
Contributor

Again, we can't do this. Apple internal policy is that we can't use weak definitions. Reverting.

@jckarter
Copy link
Copy Markdown
Contributor

We can't use weak definitions with default visibility. This isn't a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants