Revert "[Passes] Parallelize the layout pass sort."
Inconsistent (and wrong) sort order on non-Windows. llvm-svn: 182975
This commit is contained in:
parent
794671dc2f
commit
615c076fc1
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue