diff options
| author | Michael Goulet <michael@errs.io> | 2025-04-06 23:50:16 +0000 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-04-07 20:48:40 +0000 | 
| commit | 9c372d8940a8dad14d586f6bd4dd42541f25cd80 (patch) | |
| tree | f5f7f7735e27aa5e524b4f815fa63c5f836233bf /compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs | |
| parent | effef88ac70f2d12229b77b8e428037df8028b7e (diff) | |
| download | rust-9c372d8940a8dad14d586f6bd4dd42541f25cd80.tar.gz rust-9c372d8940a8dad14d586f6bd4dd42541f25cd80.zip | |
Prepend temp files with a string per invocation of rustc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs b/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs index 4b0ec4a6415..1eb8f367c54 100644 --- a/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs +++ b/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs @@ -911,6 +911,7 @@ pub(crate) fn build_compile_unit_di_node<'ll, 'tcx>( tcx.sess.split_debuginfo(), tcx.sess.opts.unstable_opts.split_dwarf_kind, codegen_unit_name, + tcx.sess.invocation_temp.as_deref(), ) { // We get a path relative to the working directory from split_dwarf_path Some(tcx.sess.source_map().path_mapping().to_real_filename(f)) | 
