Fix PR14568: Avoid the DFA packetizer from making an invalid read
authorAnshuman Dasgupta <adasgupt@codeaurora.org>
Mon, 10 Dec 2012 22:45:57 +0000 (22:45 +0000)
committerAnshuman Dasgupta <adasgupt@codeaurora.org>
Mon, 10 Dec 2012 22:45:57 +0000 (22:45 +0000)
commit079e0819bc4a0dde6ce427757130db85216167de
tree72951e43e9c4ff9c7f5eec555f0eecda5ff804bd
parent617d18385f7fc33082c91710676a01ed528555af
Fix PR14568: Avoid the DFA packetizer from making an invalid read
beyond array bounds.

No test case since I cannot reproduce an ICE with this bug. According
to Carlos -- the bug reporter -- a segfault occurs only when LLVM is
compiled with a specific version of GCC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169783 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/DFAPacketizerEmitter.cpp