[llvm-branch-commits] [llvm] [BOLT] Ignore hot markers as function references in updateELFSymbolTable (PR #92713)
Amir Ayupov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon May 20 12:59:03 PDT 2024
================
@@ -4788,13 +4788,25 @@ void RewriteInstance::updateELFSymbolTable(
if (!IsDynSym && shouldStrip(Symbol))
continue;
+ Expected<StringRef> SymbolName = Symbol.getName(StringSection);
----------------
aaupov wrote:
There are non-trivial conditions (https://github.com/llvm/llvm-project/pull/92713/files#diff-4be6195ccdb53447f870b9b26a36d0b916ace3cbd6efe595bb3cbffd53cf0dacL4902) that guard updating those special symbols. NFC testing shows it may not be safe to just move these checks.
https://github.com/llvm/llvm-project/pull/92713
More information about the llvm-branch-commits
mailing list