[llvm] [BOLT][AArch64] Fixed indirect call instrumentation snippet (PR #141918)
Alexey Moksyakov via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 24 07:40:54 PST 2025
================
@@ -293,9 +293,12 @@ void Instrumentation::instrumentIndirectTarget(BinaryBasicBlock &BB,
BinaryBasicBlock::iterator &Iter,
BinaryFunction &FromFunction,
uint32_t From) {
- auto L = FromFunction.getBinaryContext().scopeLock();
- const size_t IndCallSiteID = Summary->IndCallDescriptions.size();
- createIndCallDescription(FromFunction, From);
+ size_t IndCallSiteID;
+ {
+ auto L = FromFunction.getBinaryContext().scopeLock();
----------------
yavtuk wrote:
I think I can leave it as before, I will check and update MR
https://github.com/llvm/llvm-project/pull/141918
More information about the llvm-commits
mailing list