[lld] [llvm] [WebAssembly] Add segment NO_STRIP flag to support private retained data (PR #81539)

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 14:20:29 PST 2024


================
@@ -56,21 +58,30 @@ void MarkLive::enqueue(Symbol *sym) {
   LLVM_DEBUG(dbgs() << "markLive: " << sym->getName() << "\n");
 
   InputFile *file = sym->getFile();
-  bool needInitFunctions = file && !file->isLive() && sym->isDefined();
+  bool needMarkImplicitDeps = file && !file->isLive() && sym->isDefined();
----------------
sbc100 wrote:

How about just `needImplictDeps` or `markImplicitDeps`?

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


More information about the llvm-commits mailing list