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 build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
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 Resynchronize EDInfo.h and EDEmitter.cpp. 2011-07-11 17:57:30 +00:00
EDInst.cpp Fixed a bug where missing EDInstInfo would cause 2011-04-07 01:56:01 +00:00
EDInst.h Fix C++0x narrowing errors when char is unsigned. 2011-08-30 20:53:29 +00:00
EDMain.cpp Convert assert(0) to llvm_unreachable 2012-02-07 05:05:23 +00:00
EDOperand.cpp Modified the Enhanced Disassembler to create and 2012-02-04 07:45:35 +00:00
EDOperand.h
EDToken.cpp Fix C++0x narrowing errors when char is unsigned. 2011-08-30 20:53:29 +00:00
EDToken.h Fix C++0x narrowing errors when char is unsigned. 2011-08-30 20:53:29 +00:00
LLVMBuild.txt Clients are responsible for initializing the targets, remove it from the disassembler API. 2011-11-11 13:20:40 +00:00
Makefile