Store the global variable that's created so that it's reclaimed afterwards.
authorBill Wendling <isanbard@gmail.com>
Sun, 29 Dec 2013 08:00:04 +0000 (08:00 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 29 Dec 2013 08:00:04 +0000 (08:00 +0000)
commitc956500eb6d0ef05cd4fcde83de8a46d22dcdbaf
tree44c8ed8de69d3a57107b12ec452358ad5889e5aa
parent827176c80c4279ab4e924c96c0f0880d47536f4a
Store the global variable that's created so that it's reclaimed afterwards.

This plugs a memory leak in ARM's FastISel by storing the GV in Module so that
it's reclaimed.
PR17978

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198160 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp