Revert "[Passes] Parallelize the layout pass sort."

Inconsistent (and wrong) sort order on non-Windows.

llvm-svn: 182975
This commit is contained in:
Michael J. Spencer 2013-05-31 00:05:49 +00:00
parent 794671dc2f
commit 615c076fc1
1 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,6 @@
#include "lld/Passes/LayoutPass.h"
#include "lld/Core/Instrumentation.h"
#include "lld/Core/Parallel.h"
#include "llvm/Support/Debug.h"
using namespace lld;
@ -426,7 +425,7 @@ void LayoutPass::perform(MutableFile &mergedFile) {
});
// sort the atoms
parallel_sort(atomRange.begin(), atomRange.end(), _compareAtoms);
std::sort(atomRange.begin(), atomRange.end(), _compareAtoms);
DEBUG({
llvm::dbgs() << "sorted atoms:\n";