[PATCH] D35702: [LTO][ThinLTO] Use the linker resolutions to mark global values as dso_local.

Hiroshi Inoue via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 21 06:13:06 PDT 2017


inouehrs added inline comments.


================
Comment at: lib/Bitcode/Reader/BitcodeReader.cpp:876
   bool Live = (RawFlags & 0x2) || Version < 3;
-  return GlobalValueSummary::GVFlags(Linkage, NotEligibleToImport, Live);
+  bool Local = (RawFlags & 0x4);
+
----------------
Do we need some version check (and some comments) for compatibility with old bc files? 


Repository:
  rL LLVM

https://reviews.llvm.org/D35702





More information about the llvm-commits mailing list