[BOLT] Use disambiguated local names in BAT YAML
Align BAT YAML to fdata profile. Test Plan: updated register-fragments-bolt-symbols.s Reviewers: dcci, rafaelauler, ayermolo, maksfb Reviewed By: dcci Pull Request: https://github.com/llvm/llvm-project/pull/91773
This commit is contained in:
@@ -2339,7 +2339,7 @@ std::error_code DataAggregator::writeBATYAML(BinaryContext &BC,
|
||||
continue;
|
||||
BinaryFunction *BF = BC.getBinaryFunctionAtAddress(FuncAddress);
|
||||
assert(BF);
|
||||
YamlBF.Name = FuncName.str();
|
||||
YamlBF.Name = getLocationName(*BF);
|
||||
YamlBF.Id = BF->getFunctionNumber();
|
||||
YamlBF.Hash = BAT->getBFHash(FuncAddress);
|
||||
YamlBF.ExecCount = BF->getKnownExecutionCount();
|
||||
|
||||
Reference in New Issue
Block a user