aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp
diff options
context:
space:
mode:
authorGalina Kistanova <gkistanova@gmail.com>2019-05-22 20:42:56 +0000
committerGalina Kistanova <gkistanova@gmail.com>2019-05-22 20:42:56 +0000
commited49f6d8e65a4d8c26621624252c5f5588d549a1 (patch)
tree7b761021371096b150a3392d0652d2abbd1d4e6c /llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp
parentb2ece169ed609b9111c290254d831101d21cbf8f (diff)
downloadllvm-ed49f6d8e65a4d8c26621624252c5f5588d549a1.zip
llvm-ed49f6d8e65a4d8c26621624252c5f5588d549a1.tar.gz
llvm-ed49f6d8e65a4d8c26621624252c5f5588d549a1.tar.bz2
Reverted r361134 because of a failing test left unattended for a long time.
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/17792/steps/test-check-all/logs/stdio Failing Tests (1): LLVM :: CodeGen/AMDGPU/regbank-reassign.mir llvm-svn: 361430
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp')
-rw-r--r--llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp b/llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp
index 9bc69ab..be8c32d 100644
--- a/llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp
+++ b/llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp
@@ -47,9 +47,10 @@ Error DebugFrameDataSubsection::commit(BinaryStreamWriter &Writer) const {
}
std::vector<FrameData> SortedFrames(Frames.begin(), Frames.end());
- llvm::sort(SortedFrames, [](const FrameData &LHS, const FrameData &RHS) {
- return LHS.RvaStart < RHS.RvaStart;
- });
+ std::sort(SortedFrames.begin(), SortedFrames.end(),
+ [](const FrameData &LHS, const FrameData &RHS) {
+ return LHS.RvaStart < RHS.RvaStart;
+ });
if (auto EC = Writer.writeArray(makeArrayRef(SortedFrames)))
return EC;
return Error::success();