Fix duplicate directory separator in --remap-path-prefix.

This commit is contained in:
Michael Woerister 2022-04-29 19:36:02 +02:00
parent 683c582c1e
commit 3614bd3c45
3 changed files with 94 additions and 2 deletions

View file

@ -22,7 +22,7 @@ fn main() {
}
// Here we check that local debuginfo is mapped correctly.
// CHECK: !DIFile(filename: "/the/src/remap_path_prefix/main.rs", directory: "/the/cwd/"
// CHECK: !DIFile(filename: "/the/src/remap_path_prefix/main.rs", directory: "/the/cwd"
// And here that debuginfo from other crates are expanded to absolute paths.
// CHECK: !DIFile(filename: "/the/aux-src/remap_path_prefix_aux.rs", directory: ""