[llvm] [BOLT] Support instrumentation hook via DT_FINI_ARRAY (PR #67348)

Job Noorman via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 2 03:33:36 PDT 2023


================
@@ -57,12 +57,6 @@ void InstrumentationRuntimeLibrary::adjustCommandLineOptions(
               "the input binary\n";
     exit(1);
   }
-  if (!BC.FiniFunctionAddress && !BC.IsStaticExecutable) {
----------------
mtvec wrote:

I don't mind moving it there (and I agree it's more logical) but I feel it would be better to do this in a separate PR as it's not really related to this one.

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


More information about the llvm-commits mailing list