Skip to content

Commit a2d37b4

Browse files
committed
---
yaml --- r: 130559 b: refs/heads/snap-stage3 c: e29aa14 h: refs/heads/master i: 130557: aeb0536 130555: 99aea81 130551: b1a0f17 130543: e9e9df3 130527: 3244ee8 130495: ba03883 130431: 7fbe384 130303: 2d24fb3 130047: 7a2c647 v: v3
1 parent 2bb39f6 commit a2d37b4

File tree

8 files changed

+512
-507
lines changed

8 files changed

+512
-507
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: ee72e46638f2b2ae92e99df2a7ea92690baa0d07
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 0ab27b1d5b68d3bc3c727895e5219ce254c685ad
4+
refs/heads/snap-stage3: e29aa1430bb45d18a5d3fcc5f3b7d20e99a57758
55
refs/heads/try: a2473a89da106f7dd3be86e9d52fe23f43d5bfa5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustc/back/link.rs

Lines changed: 2 additions & 476 deletions
Large diffs are not rendered by default.

branches/snap-stage3/src/librustc/back/lto.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
use super::link;
12+
use super::write;
1213
use driver::session;
1314
use driver::config;
1415
use llvm;
@@ -119,9 +120,9 @@ pub fn run(sess: &session::Session, llmod: ModuleRef,
119120
if !llvm::LLVMRustLinkInExternalBitcode(llmod,
120121
ptr as *const libc::c_char,
121122
bc_decoded.len() as libc::size_t) {
122-
link::llvm_err(sess,
123-
format!("failed to load bc of `{}`",
124-
name.as_slice()));
123+
write::llvm_err(sess,
124+
format!("failed to load bc of `{}`",
125+
name.as_slice()));
125126
}
126127
});
127128
}

0 commit comments

Comments
 (0)