Skip to content

Make Rustc build with LLVM trunk.#55751

Closed
vext01 wants to merge 2 commits intorust-lang:masterfrom
vext01:llvm-trunk-fix
Closed

Make Rustc build with LLVM trunk.#55751
vext01 wants to merge 2 commits intorust-lang:masterfrom
vext01:llvm-trunk-fix

Conversation

@vext01
Copy link
Contributor

@vext01 vext01 commented Nov 7, 2018

Hi,

We were discussing in #55714 the possibility of having a LLVM version gated fix for the recent change to DiBuilder::createGlobalVariableExpression.

In short, an extra optional argument was added to this LLVM function, but for some reason it was not appended to the end of argument list, thus breaking backward compat.

This change uses conditional compilation to fix this.

All tests pass on yesterday's LLVM. Presumably Bors will test using an earlier LLVM before the change.

What do you think? Can we include this?

Thanks

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

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants