ThinLTO renaming: use module hash instead of position in the summary
authorMehdi Amini <mehdi.amini@apple.com>
Mon, 11 Apr 2016 23:26:46 +0000 (23:26 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Mon, 11 Apr 2016 23:26:46 +0000 (23:26 +0000)
commitae280e54a9865b82930a777b14735d7438630fa4
tree7a55a90b355bd1f50fe088f09bc99ad80f3f7830
parentea7eb841a1a9b2d15923852964b563f389bc06bc
ThinLTO renaming: use module hash instead of position in the summary

This is more robust to changes in the link ordering.

Differential Revision: http://reviews.llvm.org/D18946

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 266018
llvm/include/llvm/IR/ModuleSummaryIndex.h
llvm/lib/Transforms/Utils/FunctionImportUtils.cpp
llvm/test/Linker/funcimport.ll
llvm/test/Transforms/FunctionImport/adjustable_threshold.ll
llvm/test/Transforms/FunctionImport/funcimport.ll