[llvm] [BOLT] Support instrumentation hook via DT_FINI_ARRAY (PR #67348)
Vladislav Khmelevsky via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 26 03:12:47 PDT 2023
================
@@ -57,12 +57,6 @@ void InstrumentationRuntimeLibrary::adjustCommandLineOptions(
"the input binary\n";
exit(1);
}
- if (!BC.FiniFunctionAddress && !BC.IsStaticExecutable) {
----------------
yota9 wrote:
While you're here may I ask you to move the statement "if (BC.IsStaticExecutable && !opts::InstrumentationSleepTime) {" from emitBinary here ? It seems to be more proper place. Thanks!
https://github.com/llvm/llvm-project/pull/67348
More information about the llvm-commits
mailing list