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)
commit43e5349f8903fa06094d2079d9adbf55d923a22b
treec0c63d66515bd257af09c2e1da1024b1305861dc
parentb200e2f9b4469733f5e74c361f9991cd2e8ae491
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239921 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLParser.cpp
lib/IR/AsmWriter.cpp
lib/IR/Verifier.cpp
test/Assembler/unnamed-alias.ll [new file with mode: 0644]