We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd6e372 commit ba27d3dCopy full SHA for ba27d3d
src/debuginfo/line_info.rs
@@ -117,8 +117,7 @@ impl DebugContext {
117
}
118
filename => {
119
// For anonymous sources, create an empty directory instead of using the default
120
- let empty_dir = LineString::new(b"", line_program.encoding(), line_strings);
121
- let dir_id = line_program.add_directory(empty_dir);
+ let dir_id = line_program.default_directory();
122
123
let dummy_file_name = LineString::new(
124
filename.prefer_remapped_unconditionally().to_string().into_bytes(),
0 commit comments