Skip to content

[Runtime] Remove the dependency on LLVM's Compiler.h #17719

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 4, 2018

Conversation

dcci
Copy link
Member

@dcci dcci commented Jul 3, 2018

rdar://problem/35860874

Davide Italiano added 2 commits July 3, 2018 11:32
The runtime doesn't really need Compiler.h. It just needs some
visibility macros which can be inlined here instead of pulling
the whole heavyweight header (including its transitive closure,
llvm-config.h). This is becoming more important now that Compiler.h
includes C++ headers (namely, <new>), and swift/Runtime/Config.h
can be included from C or Objective-C files (causing build failures).

<rdar://problem/35860874>
@dcci dcci requested review from mikeash, gparker42 and bob-wilson July 3, 2018 20:56
@dcci
Copy link
Member Author

dcci commented Jul 3, 2018

@swift-ci please test

@dcci dcci merged commit 829b10c into swiftlang:master Jul 4, 2018
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.

3 participants