Duncan P. N. Exon Smith da75f7277e IR: Store MDNodes in a separate LeakDetector container
This gives us better leak detection messages, like `Value` has.

This also has the side effect of papering over a problem where
`MachineInstr`s are added as garbage to the leak detector and then
deleted without being removed.  If `MDNode::getTemporary()` allocates an
`MDNodeFwdDecl` in the same spot, the leak detector asserts.  By
separating `MDNode`s into their own container we lose that assertion.

Since `MachineInstr` is required to have a trivial destructor, its usage
of `LeakDetector` at all is pretty suspect.  I'll be sending a patch
soon to strip that out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224060 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-11 21:39:39 +00:00
..
2014-12-09 18:38:53 +00:00
2014-12-09 18:38:53 +00:00
2014-12-09 18:38:53 +00:00
2014-06-27 18:19:56 +00:00
2014-12-09 18:38:53 +00:00
2014-12-09 18:38:53 +00:00
2014-12-09 18:38:53 +00:00
2014-11-11 21:30:22 +00:00
2014-12-09 18:38:53 +00:00
2014-12-09 18:38:53 +00:00
2014-12-09 18:38:53 +00:00
2014-12-09 18:38:53 +00:00
2014-08-21 21:09:24 +00:00
2014-12-09 18:38:53 +00:00
2014-12-09 18:38:53 +00:00