aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ErrorHandling.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2014-10-03 21:48:59 +0000
committerAnna Zaks <ganna@apple.com>2014-10-03 21:48:59 +0000
commitd79b840716adeeeb75deab4f16726c075d5a9a96 (patch)
tree466daef4d0371d1b70a76c703ae54680e8b10fea /llvm/lib/Support/ErrorHandling.cpp
parent2d2f137ed4a794f494a6a763f342bba1ef492ed2 (diff)
downloadllvm-d79b840716adeeeb75deab4f16726c075d5a9a96.zip
llvm-d79b840716adeeeb75deab4f16726c075d5a9a96.tar.gz
llvm-d79b840716adeeeb75deab4f16726c075d5a9a96.tar.bz2
[analyzer] Make Malloc Checker track memory allocated by if_nameindex
The MallocChecker does currently not track the memory allocated by if_nameindex. That memory is dynamically allocated and should be freed by calling if_freenameindex. The attached patch teaches the checker about these functions. Memory allocated by if_nameindex is treated as a separate allocation "family". That way the checker can verify it is freed by the correct function. A patch by Daniel Fahlgren! llvm-svn: 219025
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions