Skip to content

Commit b851ca6

Browse files
committed
Was accessing wrong YamlBF Hash, fixed
Created using spr 1.3.4
1 parent 56b45b1 commit b851ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/lib/Profile/YAMLProfileReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ size_t YAMLProfileReader::matchWithPseudoProbes(BinaryContext &BC) {
614614

615615
uint64_t MatchedWithPseudoProbes = 0;
616616
for (yaml::bolt::BinaryFunctionProfile &YamlBF : YamlBP.Functions) {
617-
auto It = PseudoProbeDescHashToBF.find(YamlBF.Hash);
617+
auto It = PseudoProbeDescHashToBF.find(YamlBF.PseudoProbeDescHash);
618618
if (It == PseudoProbeDescHashToBF.end())
619619
continue;
620620
BinaryFunction *BF = It->second;

0 commit comments

Comments
 (0)