mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Revert "[DebugInfo] Remove dots from getFilenameByIndex return value"
This is failing on Windows bots due to path separator normalization. This reverts commit 042c23506869b4ae9a49d2c4bc5ea6e6baeabe78.
This commit is contained in:
parent
306ab784d5
commit
90f3b709ad
@ -1391,7 +1391,6 @@ bool DWARFDebugLine::Prologue::getFileNameByIndex(
|
|||||||
|
|
||||||
// sys::path::append skips empty strings.
|
// sys::path::append skips empty strings.
|
||||||
sys::path::append(FilePath, Style, IncludeDir, FileName);
|
sys::path::append(FilePath, Style, IncludeDir, FileName);
|
||||||
sys::path::remove_dots(FilePath, /*remove_dot_dot=*/true, Style);
|
|
||||||
Result = std::string(FilePath.str());
|
Result = std::string(FilePath.str());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
// CHECK: foo
|
// CHECK: foo
|
||||||
// CHECK-NEXT: array
|
// CHECK-NEXT: array
|
||||||
// CHECK-NEXT: /home/ubuntu{{/|\\}}example.cpp:1
|
// CHECK-NEXT: /home/ubuntu{{/|\\}}.{{/|\\}}example.cpp:1
|
||||||
// CHECK-NEXT: -24 8 ??
|
// CHECK-NEXT: -24 8 ??
|
||||||
|
|
||||||
.file "example.cpp"
|
.file "example.cpp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user