]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #49904 - michaelwoerister:no-debug-attr, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 17 Apr 2018 19:26:25 +0000 (19:26 +0000)
committerbors <bors@rust-lang.org>
Tue, 17 Apr 2018 19:26:25 +0000 (19:26 +0000)
Work around LLVM debuginfo problem in librustc_driver.

Works around a problem (https://github.com/rust-lang/rust/issues/48910) with global variable debuginfo generation for `rustc_driver::get_trans::LOAD` by applying `#[no_debug]` to it (which just disables debuginfo generation for that variable). This way we can build the compiler with debuginfo again.

Since the problem is also present in beta, this workaround might have to be backported.

r? @alexcrichton


Trivial merge