[llvm] [BOLT] Support runtime library hook via DT_INIT_ARRAY (PR #167467)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 25 00:37:50 PST 2025
================
@@ -2178,6 +2345,13 @@ void RewriteInstance::adjustCommandLineOptions() {
exit(1);
}
+ if (opts::Instrument && opts::RuntimeLibInitHook == opts::RLIH_ENTRY_POINT &&
+ !BC->HasInterpHeader) {
+ outs() << "BOLT-WARNING: adjusted runtime-lib-init-hook to 'init' due to "
----------------
maksfb wrote:
```suggestion
BC->errs() << "BOLT-WARNING: adjusted runtime-lib-init-hook to 'init' due to "
```
https://github.com/llvm/llvm-project/pull/167467
More information about the llvm-commits
mailing list