summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-12-11 21:51:37 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-12-11 21:51:37 +0000
commitd6f8e4b03cb1f33294cfa4da8d1def26ad884e15 (patch)
tree6df695eba98912d7fe09cc3c55839ba0d4498f1e /llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
parent63eb6bf6233dded6c91ac50bd2ec76e054aadba3 (diff)
downloadbcm5719-llvm-d6f8e4b03cb1f33294cfa4da8d1def26ad884e15.tar.gz
bcm5719-llvm-d6f8e4b03cb1f33294cfa4da8d1def26ad884e15.zip
CodeGen: Stop using LeakDetector for MachineInstr
Since `MachineInstr` is required to have a trivial destructor, it cannot remove itself from `LeakDetection`. Remove the calls. As it happens, this requirement is because `MachineFunction` allocates all `MachineInstr`s in a custom allocator; when the `MachineFunction` is destroyed they're dropped of the edge. There's no benefit to detecting leaks. llvm-svn: 224061
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud