Change the GlobalAlias constructor to look a bit more like GlobalVariable.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 16 May 2014 13:34:04 +0000 (13:34 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 16 May 2014 13:34:04 +0000 (13:34 +0000)
commitab67b30df6b14e8e90f4778215ed4e1d5939638e
tree0dd738ae6d07cd9fac9f37bc7f34dbea1d7014c1
parentb95580a711b70e373ba7a52b3867e7ea6881e413
Change the GlobalAlias constructor to look a bit more like GlobalVariable.

This is part of the fix for pr10367. A GlobalAlias always has a pointer type,
so just have the constructor build the type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208983 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/GlobalAlias.h
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/IR/Core.cpp
lib/IR/Globals.cpp
lib/Linker/LinkModules.cpp
lib/Transforms/IPO/MergeFunctions.cpp
lib/Transforms/Utils/CloneModule.cpp
unittests/IR/VerifierTest.cpp
unittests/Transforms/Utils/SpecialCaseList.cpp