mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 04:17:17 +08:00
Lost in rebase: call registerFragment with a reference to TargetBF
Summary: Fixes broken build due to a lost dereferencing (cherry picked from FBD24799948)
This commit is contained in:
committed by
Maksim Panchenko
parent
2b09d672ce
commit
f86a78a4e7
@@ -552,7 +552,7 @@ bool BinaryContext::analyzeJumpTable(const uint64_t Address,
|
||||
auto BFNamePrefix = Regex::escape(NameResolver::restore(BFName));
|
||||
auto BFNameRegex = Twine(BFNamePrefix, "\\.cold(\\.\\d+)?").str();
|
||||
if (Regex(BFNameRegex).match(TgtNamePrefix))
|
||||
registerFragment(TargetBF, BF);
|
||||
registerFragment(*TargetBF, BF);
|
||||
}
|
||||
return TargetBF->getParentFragment() == &BF;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user