[llvm] [BOLT] Support runtime library hook via DT_INIT_ARRAY (PR #167467)
Vasily Leonenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 25 07:44:35 PST 2025
================
@@ -1419,6 +1503,10 @@ Error RewriteInstance::discoverRtFiniAddress() {
}
if (!BC->FiniArrayAddress || !BC->FiniArraySize) {
+ // It is still possible to generate profile without fini hook if
+ // InstrumentationSleepTime is set
+ if (opts::InstrumentationSleepTime > 0)
----------------
vleonen wrote:
Done, removed from this PR
https://github.com/llvm/llvm-project/pull/167467
More information about the llvm-commits
mailing list