[PATCH] D43358: [ThinLTO] Enable AutoHide on symbols with local_unnamed_addr

Steven Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 15:21:31 PST 2018


steven_wu created this revision.
Herald added subscribers: llvm-commits, eraman, inglorion, mehdi_amini.

Teach thinLTO to analyze and auto hide local_unnamed_addr symbols if
possible.


Repository:
  rL LLVM

https://reviews.llvm.org/D43358

Files:
  include/llvm/IR/ModuleSummaryIndex.h
  include/llvm/LTO/LTO.h
  include/llvm/LTO/LTOBackend.h
  include/llvm/Transforms/IPO/FunctionImport.h
  lib/Analysis/ModuleSummaryAnalysis.cpp
  lib/IR/ModuleSummaryIndex.cpp
  lib/LTO/LTO.cpp
  lib/LTO/LTOBackend.cpp
  lib/LTO/ThinLTOCodeGenerator.cpp
  lib/Transforms/IPO/FunctionImport.cpp
  test/ThinLTO/X86/Inputs/linkonce_odr_unnamed_addr.ll
  test/ThinLTO/X86/linkonce_odr_unnamed_addr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43358.134518.patch
Type: text/x-patch
Size: 20182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180215/7be3c903/attachment.bin>


More information about the llvm-commits mailing list