Fix use-after-free in function index merging code.
authorTeresa Johnson <tejohnson@google.com>
Mon, 2 Nov 2015 20:43:33 +0000 (20:43 +0000)
committerTeresa Johnson <tejohnson@google.com>
Mon, 2 Nov 2015 20:43:33 +0000 (20:43 +0000)
commit81c3746b68109c65a117332bce615614376d7b86
treef31cf6b0d56fb6f99b761ce998c835bcc29cd8b3
parent432845f7dbd0975b380b17dcecfd166403bc6809
Fix use-after-free in function index merging code.

This was flagged by ASAN when using a test case I will be committing
along with D13515.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251827 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/FunctionInfo.cpp