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
Showing
- llvm/lib/AsmParser/LLParser.cpp 3 additions, 0 deletionsllvm/lib/AsmParser/LLParser.cpp
- llvm/lib/IR/AsmWriter.cpp 8 additions, 7 deletionsllvm/lib/IR/AsmWriter.cpp
- llvm/lib/IR/Verifier.cpp 0 additions, 1 deletionllvm/lib/IR/Verifier.cpp
- llvm/test/Assembler/unnamed-alias.ll 11 additions, 0 deletionsllvm/test/Assembler/unnamed-alias.ll
Loading
Please register or sign in to comment