Files
swift-mirror/utils/leaks-detector/leaksDetector.c
Michael Gottesman 3e72294ab0 [g-arc-opts] Add GMALLOC like tool for running leaks while using lit.
Its easy to tell if we over-release memory since we will crash. It is
more difficult to know if we are leaking memory. This will help us to
catch such cases.

A test will be incoming once I finish a patch that enables lit support
for this (I wanted to separate out those two commits).

Swift SVN r18677
2014-05-30 22:31:30 +00:00

12 lines
417 B
C

/*===-- leaksDetector.c - gmalloc like library for OSX leaks -------*- C -*-===*
*
This source file is part of the Swift.org open source project
Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
Licensed under Apache License v2.0 with Runtime Library Exception
See http://swift.org/LICENSE.txt for license information
See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
}