Skip to content

Commit f878151

Browse files
committed
Attempt to fix test on Windows.
I'm assuming that because sys::path::append defaults to native path this fails. Since dsymutil is a Darwin tool, we can just hardcode the UNIX path separator. (cherry picked from commit 2d460f2) Conflicts: llvm/lib/DWARFLinkerParallel/DWARFLinkerCompileUnit.cpp
1 parent d6485e3 commit f878151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/DWARFLinker/DWARFLinker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ static SmallString<128> guessToolchainBaseDir(StringRef SysRoot) {
187187
return Result;
188188
Base = sys::path::parent_path(Base);
189189
Result = Base;
190-
sys::path::append(Result, "Toolchains");
190+
Result += "/Toolchains";
191191
return Result;
192192
}
193193

0 commit comments

Comments
 (0)