Re-commit r152202 hopefully fixing the MSVC linker error.
authorCraig Topper <craig.topper@gmail.com>
Thu, 8 Mar 2012 06:55:27 +0000 (06:55 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 8 Mar 2012 06:55:27 +0000 (06:55 +0000)
commit88d2fa438a5b9feb7da77e4beeaa00944ae4168e
tree78670ed745845060a34061c675e15f0ba9026d25
parent8c0152f8a557742efddc57c3993c2c0a3a79ca4d
Re-commit r152202 hopefully fixing the MSVC linker error.

Original commit message:
Use uint16_t to store InstrNameIndices in MCInstrInfo. Add asserts to protect all 16-bit string table offsets. Also make sure the string to offset table string is not larger than 65536 characters since larger string literals aren't portable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152296 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCInstrInfo.h
utils/TableGen/AsmMatcherEmitter.cpp
utils/TableGen/AsmWriterEmitter.cpp
utils/TableGen/InstrInfoEmitter.cpp
utils/TableGen/StringToOffsetTable.h