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)
commit3923e286cd4652031465b62f05c94c32cb7061bb
treea060cc37a358b9440015a2b0e2f94ce945704b08
parent3b188b1752dc529f08c75aeacf370b4757b51120
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.

llvm-svn: 169783
llvm/utils/TableGen/DFAPacketizerEmitter.cpp