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 Fixed two leaks in the MC disassembler. The MC 2012-04-06 18:21:09 +00:00
Disassembler.h Fixed two leaks in the MC disassembler. The MC 2012-04-06 18:21:09 +00:00
EDDisassembler.cpp Make MCInstrInfo available to the MCInstPrinter. This will be used to remove getInstructionName and the static data it contains since the same tables are already in MCInstrInfo. 2012-04-02 06:09:36 +00:00
EDDisassembler.h Make MCInstrInfo available to the MCInstPrinter. This will be used to remove getInstructionName and the static data it contains since the same tables are already in MCInstrInfo. 2012-04-02 06:09:36 +00:00
EDInfo.h
EDInst.cpp
EDInst.h
EDMain.cpp
EDOperand.cpp
EDOperand.h
EDToken.cpp
EDToken.h
LLVMBuild.txt
Makefile