[clang] [llvm] [MC] Remove Darwin SDK/Version from ObjFileInfo (PR #103025)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 10:01:55 PDT 2024


================
@@ -109,7 +109,6 @@ initializeRecordStreamer(const Module &M,
   MCContext MCCtx(TT, MAI.get(), MRI.get(), STI.get(), &SrcMgr);
   std::unique_ptr<MCObjectFileInfo> MOFI(
       T->createMCObjectFileInfo(MCCtx, /*PIC=*/false));
-  MOFI->setSDKVersion(M.getSDKVersion());
----------------
MaskRay wrote:

Regular and Thin LTO use ModuleSymbolTable to record symbols in the IR file (`llvm-nm a.bc`). Will this cause a behavior difference?

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


More information about the llvm-commits mailing list