Skip to content
Commit a3ac1cfa authored by Arthur Eubanks's avatar Arthur Eubanks
Browse files

[SampleProfile] Fix non-determinism in promoteMergeNotInlinedContextSamples()

We're seeing non-determinism with loading sample profiles. It seems to
be related to the order in which we merge FunctionSamples in
promoteMergeNotInlinedContextSamples(). Use a MapVector to iterate over
NonInlinedCallSites in the order entries were inserted.

Reviewed By: wenlei, davidxl

Differential Revision: https://reviews.llvm.org/D131592
parent 20451cb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment