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

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 25 17:49:54 PDT 2017


sfertile updated this revision to Diff 108159.
sfertile added a comment.

Fixed spelling in comment.
Updated the look-up when marking summary  as local to be limited to the bitcode module being added.
Changed for loop to  llvm::any_of.


Repository:
  rL LLVM

https://reviews.llvm.org/D35702

Files:
  include/llvm/IR/ModuleSummaryIndex.h
  include/llvm/IR/ModuleSummaryIndexYAML.h
  lib/Analysis/ModuleSummaryAnalysis.cpp
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/LTO/LTO.cpp
  lib/Transforms/Utils/FunctionImportUtils.cpp
  test/LTO/Resolution/X86/comdat-mixed-lto.ll
  test/LTO/Resolution/X86/comdat.ll
  test/LTO/Resolution/X86/commons.ll
  test/ThinLTO/X86/deadstrip.ll
  test/ThinLTO/X86/funcimport2.ll
  test/ThinLTO/X86/internalize.ll
  test/ThinLTO/X86/reference_non_importable.ll
  test/Transforms/LowerTypeTests/import-unsat.ll
  test/Transforms/WholeProgramDevirt/import-indir.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35702.108159.patch
Type: text/x-patch
Size: 18523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170726/9fd7f7b0/attachment.bin>


More information about the llvm-commits mailing list