AsmParser: restore LLVM IR compatibility for linker_private{,_weak}
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 5 Apr 2014 20:51:58 +0000 (20:51 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 5 Apr 2014 20:51:58 +0000 (20:51 +0000)
commit48ee81c6798a415bc592255f385bdb8427b9ebcf
tree0b0ed58cad4fb22c30b73619b0e4f73b9ec321cc
parent2c5f72b629ce9e4676ed1824698e052abd4e162a
AsmParser: restore LLVM IR compatibility for linker_private{,_weak}

This restores the linker_private and linker_private_weak lexemes to permit
translation of the deprecated lexmes.  The behaviour is identical to the bitcode
handling: linker_private and linker_private_weak are handled as if private had
been specified.  This enables compatibility with IR generated by LLVM 3.4.

Reported on IRC by ki9a!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205675 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLToken.h
test/Bitcode/deprecated-linker_private-linker_private_weak.ll [new file with mode: 0644]