tianshilei1992 added a comment. LG with one nit.
================ Comment at: clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp:777-781 + // Record if we've seen these symbols in any object or shared libraries. + if ((*ObjFile)->isRelocatableObject()) { + UsedInRegularObj[*Name] = true; + } else + UsedInSharedLib[*Name] = true; ---------------- Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D118155/new/ https://reviews.llvm.org/D118155 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits