TableGen: Add 'static' to a large array to avoid a huge stack allocation
authorReid Kleckner <reid@kleckner.net>
Thu, 17 Jul 2014 19:43:40 +0000 (19:43 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 17 Jul 2014 19:43:40 +0000 (19:43 +0000)
commit55ebcf372ded405250ab6c3249ac05bf97fb7499
tree745757cdcce07a3a60e129dea3be0cd9f8272bf8
parent08f689e9b056833f8275af61841962f6e8f68b31
TableGen: Add 'static' to a large array to avoid a huge stack allocation

Speculative fix for a -Wframe-larger-than warning from gcc.  Clang will
implicitly promote such constant arrays to globals, so in theory it
won't hit this.

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