diff options
| author | Galina Kistanova <gkistanova@gmail.com> | 2019-05-22 20:42:56 +0000 |
|---|---|---|
| committer | Galina Kistanova <gkistanova@gmail.com> | 2019-05-22 20:42:56 +0000 |
| commit | ed49f6d8e65a4d8c26621624252c5f5588d549a1 (patch) | |
| tree | 7b761021371096b150a3392d0652d2abbd1d4e6c /llvm/lib/DebugInfo/CodeView | |
| parent | b2ece169ed609b9111c290254d831101d21cbf8f (diff) | |
| download | bcm5719-llvm-ed49f6d8e65a4d8c26621624252c5f5588d549a1.tar.gz bcm5719-llvm-ed49f6d8e65a4d8c26621624252c5f5588d549a1.zip | |
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')
| -rw-r--r-- | llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp b/llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp index 9bc69abea10..be8c32d5b29 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(); |

