[PATCH] D154364: [LTO] Allow library calls to be internalized in freestanding mode

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 09:36:20 PDT 2023


jdoerfert added inline comments.


================
Comment at: llvm/lib/Object/IRSymtab.cpp:278
+  if (IsPreservedSymbol)
+    Sym.Flags |= 1 << storage::Symbol::FB_libcall;
   if (GV->isThreadLocal())
----------------
This is how we find out it is a libcall? If so, then we might want to rename the bool above, maybe even more.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154364



More information about the llvm-commits mailing list