Allow aliases to be unnamed.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 17 Jun 2015 17:53:31 +0000 (17:53 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 17 Jun 2015 17:53:31 +0000 (17:53 +0000)
commit54fc298bbc2e0a99800e86ec9464d92a7b8f6337
tree91b8b95cbf2797151952c7026619e723e6f6b9c1
parent3df5dd4de79daab1da83119430f8396af783fd1f
Allow aliases to be unnamed.

If globals can be unnamed, there is no reason for aliases to be different.

The restriction was there since the original implementation in r36435. I
can only guess it was there because of the old bison parser for the old
alias syntax.

llvm-svn: 239921
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/IR/AsmWriter.cpp
llvm/lib/IR/Verifier.cpp
llvm/test/Assembler/unnamed-alias.ll [new file with mode: 0644]