[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
Thu Jul 20 14:21:57 PDT 2017
sfertile created this revision.
Herald added subscribers: eraman, inglorion.
Builds on Preemptable IR patch <https://reviews.llvm.org/D20217>
Uses the symbol resolutions the linker provides to mark GlobalValues as local. Add a Local flag to the GlobalValue summaries for thinlto.
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.107501.patch
Type: text/x-patch
Size: 18389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170720/30b9716c/attachment.bin>
More information about the llvm-commits
mailing list