summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/cpp/class_static/TestStaticVariables.py
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-04-06 18:21:09 +0000
committerSean Callanan <scallanan@apple.com>2012-04-06 18:21:09 +0000
commite804b5b76283725b8f0bb0eb12a5ea0ab645b2c9 (patch)
tree752b3dc08c9399ea13b560a94b764d02749c68b8 /lldb/test/lang/cpp/class_static/TestStaticVariables.py
parent76cc43a2a471f921efc3db52d0a5134f75fe6190 (diff)
downloadbcm5719-llvm-e804b5b76283725b8f0bb0eb12a5ea0ab645b2c9.tar.gz
bcm5719-llvm-e804b5b76283725b8f0bb0eb12a5ea0ab645b2c9.zip
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
Diffstat (limited to 'lldb/test/lang/cpp/class_static/TestStaticVariables.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud