Fix an asan use-after-free bug introduced by the asm printer
authorEric Christopher <echristo@gmail.com>
Fri, 20 Feb 2015 19:54:07 +0000 (19:54 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 20 Feb 2015 19:54:07 +0000 (19:54 +0000)
commitd53224014d4290c083cbb311e350b7e09526f335
treead3bf12ee4185c6e4baa31432bf5170cdd9a9691
parent16422b22bcba1bc45b84e2105171edf324c745e7
Fix an asan use-after-free bug introduced by the asm printer
changes to remove non-Function based subtargets out of the asm
printer. For module level emission we'll need to construct up
an MCSubtargetInfo so that we can encode instructions for
emission.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230050 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCAsmPrinter.cpp