[PATCH] D124056: [ELF] Fix wrapping symbols produced during LTO codegen

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 14:16:00 PDT 2022


MaskRay added inline comments.


================
Comment at: lld/ELF/SymbolTable.cpp:47
+    sym->isUsedInRegularObj = true;
+  else if (sym->isUndefined())
     sym->isUsedInRegularObj = false;
----------------
It will be good to have a comment for the `if (sym->isUndefined())` condition.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124056



More information about the llvm-commits mailing list