[PATCH] D146776: Reland [llvm] Preliminary fat-lto-objects support

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 13:51:47 PDT 2023


aeubanks added inline comments.


================
Comment at: llvm/lib/IR/StructuralHash.cpp:62
     // used/compiler.used don't affect analyses.
-    if (GV.getName() == "llvm.compiler.used" || GV.getName() == "llvm.used")
+    if (GV.getName() == "llvm.compiler.used" || GV.getName() == "llvm.used" ||
+        GV.getName() == "llvm.embedded.object")
----------------
maybe we should exclude anything that begins with `llvm.`, but that should be a separate patch, so this lgtm


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146776



More information about the llvm-commits mailing list