File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_codegen_llvm/src/back Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ fn fat_lto(
317317 info ! ( "linking {:?}" , name) ;
318318 let data = bc_decoded. data ( ) ;
319319 linker. add ( data) . map_err ( |( ) | {
320- let msg = format ! ( "failed to load bc of {:?}" , name) ;
320+ let msg = format ! ( "failed to load bitcode of module {:?}" , name) ;
321321 write:: llvm_err ( diag_handler, & msg)
322322 } ) ?;
323323 serialized_bitcode. push ( bc_decoded) ;
Original file line number Diff line number Diff line change 11warning: Linking globals named 'foo': symbol multiply defined!
22
3- error: failed to load bc of "lto-duplicate-symbols2.lto_duplicate_symbols2.HASH-cgu.0.rcgu.o":
3+ error: failed to load bitcode of module "lto-duplicate-symbols2.lto_duplicate_symbols2.HASH-cgu.0.rcgu.o":
44
55error: aborting due to previous error; 1 warning emitted
66
You can’t perform that action at this time.
0 commit comments