[flang-commits] [flang] [flang][cmake] Order flang profdata generation after clang's (PR #206023)

Paul Osmialowski via flang-commits flang-commits at lists.llvm.org
Fri Jun 26 06:54:53 PDT 2026


pawosm-arm wrote:

Not sure what to do about this. I've cherry-picked and tried your commit on top of `5e0f9dcb0e5e2444e11904a03841ef8a66832316` and now there's no `ld.lld` hanging, so it was some unrelated glitch. However, there's `SIGBUS` on executing `llvm-profdata` again, when trying to merge all of those `.profraw` files. I suspect there is a genuine problem in `llvm-profdata` that occurs intermittently, rather than in the way this thing is organized in CMake files. Also, this happens only on one machine, while on another one, the optimized build completes with and without this patch, yet I have an impression that with this patch it does twice as much of the job as before. And those two .profdata files that remain at the end (`clang.profdata` and `flang.profdata`), they remind me the early days of my experiments before I'd introduced the combined optimization flag.

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


More information about the flang-commits mailing list