fixed valgrind issues of prior commit, this change applies r169456 changes back to...
authorPedro Artigas <partigas@apple.com>
Thu, 6 Dec 2012 22:12:44 +0000 (22:12 +0000)
committerPedro Artigas <partigas@apple.com>
Thu, 6 Dec 2012 22:12:44 +0000 (22:12 +0000)
commit873a1dd7d679ac9a9a92a93a4d2bbb157878efb4
tree721b9de1e14f39167f2a0793a82f18a783d79463
parent5b4af8b52af2cb9e15c89a0e01686f2ed9127d86
fixed valgrind issues of prior commit, this change applies r169456 changes back to the tree with fixes. on darwin no valgrind issues exist in the tests that used to fail.

original change description:

change MCContext to work on the doInitialization/doFinalization model

reviewed by Evan Cheng <evan.cheng@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169553 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
lib/CodeGen/MachineModuleInfo.cpp
lib/MC/MCContext.cpp