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)
commitdb51e2a52abd84a2d07887609768e7724063d405
treedc5bf523325e3460bb72b65d874a3cb76296a26c
parentc5515ef1bb88c03367e750a495c5804c3aa441c8
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.

llvm-svn: 230050
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp