[llvm] [BOLT] Support runtime library hook via DT_INIT_ARRAY (PR #167467)

Peter Waller via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 01:45:45 PST 2025


================
@@ -811,6 +811,15 @@
 
   Specify file name of the runtime instrumentation library
 
+- `--runtime-lib-init-hook=<value>`
+
+  Primary target for hooking runtime library initialization, used in
+  fallback order of availabiliy in input binary (entry_point -> init
----------------
peterwaller-arm wrote:

```suggestion
  fallback order of availability in input binary (entry_point -> init
```

https://github.com/llvm/llvm-project/pull/167467


More information about the llvm-commits mailing list