[llvm] [BOLT] Allow missing DT_FINI{,_ARRAY} if instrumentation-sleep-time is used (PR #170086)

Vasily Leonenko via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 02:07:54 PST 2025


================
@@ -1507,6 +1508,10 @@ Error RewriteInstance::discoverRtFiniAddress() {
   }
 
   if (!BC->FiniArrayAddress || !BC->FiniArraySize) {
+    // it is not mandatory to have finalization hooks if we have
+    // InstrumentationSleepTime>0
----------------
vleonen wrote:

Done.

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


More information about the llvm-commits mailing list