[llvm-branch-commits] [llvm] [BOLT] Ignore hot markers as function references in updateELFSymbolTable (PR #92713)
Maksim Panchenko via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon May 20 11:43:13 PDT 2024
================
@@ -4788,13 +4788,25 @@ void RewriteInstance::updateELFSymbolTable(
if (!IsDynSym && shouldStrip(Symbol))
continue;
+ Expected<StringRef> SymbolName = Symbol.getName(StringSection);
----------------
maksfb wrote:
Can we move the code that checks for special symbols here and skip function matching for them all together? Otherwise we are checking for the markers in several locations unnecessarily.
https://github.com/llvm/llvm-project/pull/92713
More information about the llvm-branch-commits
mailing list