forked from OSchip/llvm-project
In http://reviews.llvm.org/D19100, I introduced a bug: On OS X, existing programs rely on malloc_size() to detect whether a pointer comes from heap memory (malloc_size returns non-zero) or not. We have to distinguish between a zero-sized allocation (where we need to return 1 from malloc_size, due to other binary compatibility reasons, see http://reviews.llvm.org/D19100), and pointers that are not returned from malloc at all. Differential Revision: http://reviews.llvm.org/D19653 llvm-svn: 268157 |
||
|---|---|---|
| .. | ||
| benchmarks | ||
| dd | ||
| go | ||
| rtl | ||
| tests | ||
| .clang-format | ||
| CMakeLists.txt | ||
| analyze_libtsan.sh | ||
| check_analyze.sh | ||
| check_cmake.sh | ||