File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -624,6 +624,12 @@ void DataAggregator::processProfile(BinaryContext &BC) {
624
624
BF.markProfiled (Flags);
625
625
}
626
626
627
+ for (auto &FuncBranches : NamesToBranches)
628
+ llvm::stable_sort (FuncBranches.second .Data );
629
+
630
+ for (auto &MemEvents : NamesToMemEvents)
631
+ llvm::stable_sort (MemEvents.second .Data );
632
+
627
633
// Release intermediate storage.
628
634
clear (BranchLBRs);
629
635
clear (FallthroughLBRs);
Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ define internal void @static_symb_backslash_b() #0 {
88
88
; INSTR_CHECK: {{([[:xdigit:]]+)}}: callq "symb whitespace" # Count: 1
89
89
90
90
; PREAGR_FDATA_CHECK: 1 main 0 1 static\ symb\ backslash\\/1 0 0 1
91
- ; PREAGR_FDATA_CHECK: 1 main 0 1 symb\ whitespace 0 0 1
92
91
; PREAGR_FDATA_CHECK: 1 main 0 1 symb\ backslash\\ 0 0 2
92
+ ; PREAGR_FDATA_CHECK: 1 main 0 1 symb\ whitespace 0 0 1
93
93
; PREAGR_FDATA_CHECK: 1 static\ symb\ backslash\\/1 0 1 symb\ whitespace 0 0 1
94
94
; PREAGR_FDATA_CHECK: 1 symb\ backslash\\ 0 1 symb\ whitespace 0 0 2
95
95
You can’t perform that action at this time.
0 commit comments