Skip to content

Commit 8c7a457

Browse files
l4lbjorn3
andauthored
Use md5 dwarf hash, only if all files has it
Co-Authored-By: bjorn3 <[email protected]>
1 parent fb709ed commit 8c7a457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debuginfo/line_info.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ fn line_program_add_file(
7676

7777
let info = make_file_info(file.src_hash);
7878

79-
line_program.file_has_md5 = info.is_some();
79+
line_program.file_has_md5 &= info.is_some();
8080
line_program.add_file(file_name, dir_id, info)
8181
}
8282
// FIXME give more appropriate file names

0 commit comments

Comments
 (0)