diff options
Diffstat (limited to 'llvm/lib/XRay/Trace.cpp')
| -rw-r--r-- | llvm/lib/XRay/Trace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/XRay/Trace.cpp b/llvm/lib/XRay/Trace.cpp index 15cafa51bec..1d7c723864d 100644 --- a/llvm/lib/XRay/Trace.cpp +++ b/llvm/lib/XRay/Trace.cpp @@ -311,7 +311,7 @@ Error loadFDRLog(StringRef Data, bool IsLittleEndian, for (auto &PTB : Index) { auto &Blocks = PTB.second; llvm::sort( - Blocks.begin(), Blocks.end(), + Blocks, [](const BlockIndexer::Block &L, const BlockIndexer::Block &R) { return (L.WallclockTime->seconds() < R.WallclockTime->seconds() && L.WallclockTime->nanos() < R.WallclockTime->nanos()); |

