1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +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
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