1
0
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:
Petr Hosek 2020-09-15 10:06:15 -07:00
parent 306ab784d5
commit 90f3b709ad
2 changed files with 1 additions and 2 deletions

View File

@ -1391,7 +1391,6 @@ bool DWARFDebugLine::Prologue::getFileNameByIndex(
// sys::path::append skips empty strings.
sys::path::append(FilePath, Style, IncludeDir, FileName);
sys::path::remove_dots(FilePath, /*remove_dot_dot=*/true, Style);
Result = std::string(FilePath.str());
return true;
}

View File

@ -13,7 +13,7 @@
// CHECK: foo
// CHECK-NEXT: array
// CHECK-NEXT: /home/ubuntu{{/|\\}}example.cpp:1
// CHECK-NEXT: /home/ubuntu{{/|\\}}.{{/|\\}}example.cpp:1
// CHECK-NEXT: -24 8 ??
.file "example.cpp"