1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 07:52:55 +01:00
llvm-mirror/lib/MC/MCDisassembler
Sean Callanan f467eceb2a 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.

llvm-svn: 154192
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 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
EDToken.h
LLVMBuild.txt
Makefile