[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 05:08:07 PDT 2026


================
@@ -281,6 +281,14 @@ if(LLVM_BUILD_INSTRUMENTED)
     )
     add_custom_target(generate-flang-profdata DEPENDS "${PROFDATA}")
 
+    # The clang and flang profdata pipelines clean and regenerate the same
----------------
pawosm-arm wrote:

Hey, but that was the plan here: clang and flang trained on the same profdata, as flang cannot live without clang (it processes IR generated by flang). Hence the profdata should contain the data merged from all those profraw files. If it fails from SIGBUS from that (which started to occur recently), it's very suspicious.

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


More information about the flang-commits mailing list