forked from OSchip/llvm-project
Revert "[lld-macho][nfc] minor clean up, follow up to D98559"
This reverts commit 1bc33eb6a3
.
tests failed on windows
This commit is contained in:
parent
76f3c2f3f3
commit
77b4230ed9
|
@ -284,8 +284,8 @@ void macho::DependencyTracker::write(llvm::StringRef version,
|
|||
inputNames.reserve(inputs.size());
|
||||
for (InputFile *f : inputs)
|
||||
inputNames.push_back(f->getName());
|
||||
llvm::sort(inputNames);
|
||||
|
||||
llvm::sort(inputNames,
|
||||
[](const StringRef &a, const StringRef &b) { return a < b; });
|
||||
for (const StringRef &in : inputNames)
|
||||
addDep(DepOpCode::Input, in);
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
# REQUIRES: x86
|
||||
## FIXME: Paths on windows have both `\` and '/', as a result, they are in a different
|
||||
## order when sorted. Maybe create a separate test for that?
|
||||
# UNSUPPORTED: system-windows
|
||||
#
|
||||
# RUN: rm -rf %t
|
||||
# RUN: split-file %s %t
|
||||
|
|
Loading…
Reference in New Issue