[llvm] [BOLT] Enable compatibility of instrumentation-file-append-pid with instrumentation-sleep-time (PR #183919)
Vasily Leonenko via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 4 11:04:22 PST 2026
================
@@ -66,13 +66,11 @@ void InstrumentationRuntimeLibrary::adjustCommandLineOptions(
exit(1);
}
- if ((opts::InstrumentationWaitForks || opts::InstrumentationSleepTime) &&
- opts::InstrumentationFileAppendPID) {
- errs()
- << "BOLT-ERROR: instrumentation-file-append-pid is not compatible with "
- "instrumentation-sleep-time and instrumentation-wait-forks. If you "
- "want a separate profile for each fork, it can only be dumped in "
- "the end of process when instrumentation-file-append-pid is used.\n";
+ if (opts::InstrumentationWaitForks && opts::InstrumentationFileAppendPID) {
+ errs() << "BOLT-ERROR: instrumentation-file-append-pid is not compatible "
----------------
vleonen wrote:
Fixed. Thanks!
https://github.com/llvm/llvm-project/pull/183919
More information about the llvm-commits
mailing list