[PATCH] D126781: [CodeGen] Keep track info of lazy-emitted symbols in ModuleBuilder

Jun Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 7 00:54:13 PDT 2022


junaire added inline comments.


================
Comment at: clang/lib/CodeGen/ModuleBuilder.cpp:163
 
       for (auto &&Lib : CodeGenOpts.DependentLibraries)
         Builder->AddDependentLib(Lib);
----------------
I left I may doing something wrong here, after invoking `Initialize` we set `Builder = std::move(NewBuilder);`, so these lines are useless now? I'm quite confused though... @rjmccall 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126781/new/

https://reviews.llvm.org/D126781



More information about the cfe-commits mailing list