https://github.com/ChuanqiXu9 commented:
Didn't take a close look. But I don't feel we shall do it behind a flag. I think we should make BMI of C++20 modules (at least C++20 named modules) relocatable. In our downstream, IIUC, we make it by always enabling "-fmodules-embed-all-files " . See discussion here: https://github.com/llvm/llvm-project/issues/72383 Correct me if I didn't understand your problem. https://github.com/llvm/llvm-project/pull/135147 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits