Be more strict about not calling setAlignment on global aliases.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 6 May 2014 14:51:36 +0000 (14:51 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 6 May 2014 14:51:36 +0000 (14:51 +0000)
commit55ba6a126fbed4f7cce5e727b670bb41ec938321
treeffafabd6f3244feae7f62496912ab2084080d913
parent3524723195be6132674ed6492355230e35cdfca0
Be more strict about not calling setAlignment on global aliases.

The fact that GlobalAlias::setAlignment exists at all is a side effect of
how the classes are organized, it should never be used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208094 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Globals.cpp
lib/Linker/LinkModules.cpp