llvm-6502/lib/MC/MCDisassembler
Sean Callanan 55e7980422 Fixed two leaks in the MC disassembler. The MC
disassembler requires a MCSubtargetInfo and a
MCInstrInfo to exist in order to initialize the
instruction printer and disassembler; however,
although the printer and disassembler keep
references to these objects they do not own them.
Previously, the MCSubtargetInfo and MCInstrInfo
objects were just leaked.

I have extended LLVMDisasmContext to own these
objects and delete them when it is destroyed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154192 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-06 18:21:09 +00:00
..
CMakeLists.txt
Disassembler.cpp
Disassembler.h
EDDisassembler.cpp
EDDisassembler.h
EDInfo.h
EDInst.cpp
EDInst.h
EDMain.cpp
EDOperand.cpp
EDOperand.h
EDToken.cpp
EDToken.h
LLVMBuild.txt
Makefile