Change the casting of linkage types into a map. This makes this much more robust
authorBill Wendling <isanbard@gmail.com>
Mon, 20 Jul 2009 20:34:46 +0000 (20:34 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 20 Jul 2009 20:34:46 +0000 (20:34 +0000)
commit4aebcb4f5f69e545da86f7482a19a6a3902a5f9f
tree0e9e1ac4cc03268b567b5d643b607bd6f8c2696c
parent344df5ecdfc406476a627c29974ba7481d6a3313
Change the casting of linkage types into a map. This makes this much more robust
as it no longer depends upon two different enums being kept in sync with each
other.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76465 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Core.cpp