search for: compile_unit_metadata

Displaying 1 result from an estimated 1 matches for "compile_unit_metadata".

2018 Nov 11
3
A stage2 build causes changes to libllvm impacting program using it (exemple: rustc)
...00007ffff50a01f2 in LLVMRustDIBuilderCreateFile (Builder=0x5555555d4180, Filename=0x7ffffffeedd8 "src/main.rs", Directory=0x555555b3dd10 "$HOME/hello_world") at /usr/lib/llvm-7/include/llvm/ADT/StringRef.h:85 #6 0x00007ffff501d39e in rustc_codegen_llvm::debuginfo::metadata::compile_unit_metadata (tcx=..., codegen_unit_name=..., debug_context=0x7ffffffeeeb0) at librustc_codegen_llvm/debuginfo/metadata.rs:859 Disabling the debug generation for rustc fixes the issue (thanks to Ximin Luo for the investigation). Why idea how to workaround this issue ? Unfortunately, because rustc needs rustc...