OSDN Git Service

ThinLTO: do not promote GlobalVariable that have a specific section.
authorMehdi Amini <mehdi.amini@apple.com>
Wed, 27 Apr 2016 00:32:13 +0000 (00:32 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Wed, 27 Apr 2016 00:32:13 +0000 (00:32 +0000)
commit3b7741bb2b37003dd7cea5261e9e32d05ccb3724
treed51397349425e502db69338acf071aa7d7d7f24b
parent3082da881d92fbc05a3af7601635dacf3661dd5a
ThinLTO: do not promote GlobalVariable that have a specific section.

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

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267646 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/ModuleSummaryIndex.h
lib/Transforms/IPO/FunctionImport.cpp
lib/Transforms/Utils/FunctionImportUtils.cpp
test/ThinLTO/X86/Inputs/section.ll [new file with mode: 0644]
test/ThinLTO/X86/section.ll [new file with mode: 0644]