summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorMandeep Singh Grang <mgrang@codeaurora.org>2018-07-16 17:26:37 +0000
committerMandeep Singh Grang <mgrang@codeaurora.org>2018-07-16 17:26:37 +0000
commit20239b18bbb81d3e5cbd6e3fd8a050bbcbec9757 (patch)
tree2c5be8169e1e95be972e834cf9d1038e90be4885 /llvm/lib/DebugInfo
parent3dd1f9d61d4f6426a072b7812146115e99a23b53 (diff)
downloadbcm5719-llvm-20239b18bbb81d3e5cbd6e3fd8a050bbcbec9757.tar.gz
bcm5719-llvm-20239b18bbb81d3e5cbd6e3fd8a050bbcbec9757.zip
[llvm] Change 2 instances of std::sort to llvm::sort
llvm-svn: 337192
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp b/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
index 2f0f76b38b7..58efc2256ae 100644
--- a/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
@@ -144,7 +144,7 @@ void GSIHashStreamBuilder::finalizeBuckets(uint32_t RecordZeroOffset) {
// can properly early-out when it detects the record won't be found. The
// algorithm used here corredsponds to the function
// caseInsensitiveComparePchPchCchCch in the reference implementation.
- std::sort(Bucket.begin(), Bucket.end(),
+ llvm::sort(Bucket.begin(), Bucket.end(),
[](const std::pair<StringRef, PSHashRecord> &Left,
const std::pair<StringRef, PSHashRecord> &Right) {
return gsiRecordLess(Left.first, Right.first);
OpenPOWER on IntegriCloud