]> granicus.if.org Git - clang/commit
[XRay] Change std::sort to llvm::sort in response to r327219
authorMandeep Singh Grang <mgrang@codeaurora.org>
Mon, 23 Apr 2018 00:49:25 +0000 (00:49 +0000)
committerMandeep Singh Grang <mgrang@codeaurora.org>
Mon, 23 Apr 2018 00:49:25 +0000 (00:49 +0000)
commit1dfd6cdd38596518e9b566d35b83dccf35df85e6
tree10d3ba78db2677db918904dd16d7395622c940fb
parent33a33e52edd3135424687beae94eefb01e5d60f8
[XRay] Change std::sort to llvm::sort in response to r327219

r327219 added wrappers to std::sort which randomly shuffle the container before
sorting.  This will help in uncovering non-determinism caused due to undefined
sorting order of objects having the same key.

To make use of that infrastructure we need to invoke llvm::sort instead of
std::sort.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330561 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/XRayArgs.cpp