OSDN Git Service

Check that GlobalAliases don't have section or alignment.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 13 Feb 2014 18:26:41 +0000 (18:26 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 13 Feb 2014 18:26:41 +0000 (18:26 +0000)
commit573c0503e3bedf5856e1b94969bfd770a927124e
tree9a5a315a8b972e4c99c02f2b393ffd84f0778a22
parentefe40a5a1d45177a6e98b7f910f2a4a9a24e40a3
Check that GlobalAliases don't have section or alignment.

An alias is always in the section of its aliasee and has the same alignment
(since it has the same address).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201354 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/GlobalValue.h
lib/IR/Globals.cpp
lib/IR/Verifier.cpp