[clang] [llvm] Pass TargetMachine from from Clang to `BitcodeWriter`and `ThinLTOBitcodeWriter` pass for thin and fat LTO respectively. (PR #143692)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 16 09:41:16 PDT 2025


================
@@ -89,6 +93,8 @@ initializeRecordStreamer(const Module &M,
   std::unique_ptr<MCAsmInfo> MAI(T->createMCAsmInfo(*MRI, TT.str(), MCOptions));
----------------
teresajohnson wrote:

Should the MCOptions from TM be passed down to createMCAsmInfo?

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


More information about the llvm-commits mailing list