summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBThreadCollection.i
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-11-18 01:56:14 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-11-18 01:56:14 +0000
commitc23610b1e423f7a2b0e691de7e1ba7f5c766551b (patch)
treef92ee06e342bd69cded9bddb2230e7f289a2db70 /lldb/scripts/Python/interface/SBThreadCollection.i
parent8975b044d3c70401c1e5432a09fd38157baaa1db (diff)
downloadbcm5719-llvm-c23610b1e423f7a2b0e691de7e1ba7f5c766551b.tar.gz
bcm5719-llvm-c23610b1e423f7a2b0e691de7e1ba7f5c766551b.zip
IR: Move MDNode operands from the back to the front
Having the operands at the back prevents subclasses from safely adding fields. Move them to the front. Instead of replicating the custom `malloc()`, `free()` and `DestroyFlag` logic that was there before, overload `new` and `delete`. I added calls to a new `GenericMDNode::dropAllReferences()` in `LLVMContextImpl::~LLVMContextImpl()`. There's a maze of callbacks happening during teardown, and this resolves them before we enter the destructors. Part of PR21532. llvm-svn: 222211
Diffstat (limited to 'lldb/scripts/Python/interface/SBThreadCollection.i')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud