Special case aliases in GlobalValue::getSection.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 6 May 2014 22:44:30 +0000 (22:44 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 6 May 2014 22:44:30 +0000 (22:44 +0000)
commit26668d093e4668a28f377c521c280454dc1b35ab
tree9cdb92f6c54e4648a1e0c8d6682e7791c7d2b5c4
parent8abb75bc6173c82a3153fd358735219b3355b539
Special case aliases in GlobalValue::getSection.

This is similar to the getAlignment patch, but is done just for
completeness. It looks like we never call getSection on an alias. All the
tests still pass if the if is replaced with an assert.

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