[llvm] [BOLT] Skip _init; avoiding GOT breakage for static binaries (PR #117751)
Amir Ayupov via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 27 14:56:49 PST 2024
================
@@ -3047,6 +3064,10 @@ void RewriteInstance::selectFunctionsToProcess() {
return true;
};
+ if (auto *InitBD = BC->getBinaryDataByName("_init"))
----------------
aaupov wrote:
I don't think we need this extra condition
https://github.com/llvm/llvm-project/pull/117751
More information about the llvm-commits
mailing list