mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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
12 lines
417 B
C
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
|
|
|
|
}
|