Implement a simple alias case and refactor the code a bit so that the
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 5 Oct 2010 18:01:23 +0000 (18:01 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 5 Oct 2010 18:01:23 +0000 (18:01 +0000)
commit737cd213e359c2862253c3a1ee443419566e90b9
tree89e639000e4ca716b0b03fa2f6358aba6d5cfb4a
parenta25c0a4283e627a34a3fb3cf0ed2ddde0d886a36
Implement a simple alias case and refactor the code a bit so that the
isInSymtab and isLocal logic in the two loops don't get easily out of sync.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115643 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp
test/MC/ELF/alias.s [new file with mode: 0644]