summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-c-test/helpers.c
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2016-11-11 21:31:38 +0000
committerDevin Coughlin <dcoughlin@apple.com>2016-11-11 21:31:38 +0000
commite477a0e5ec675ed3f15e746ef3f447faa2a1e419 (patch)
treefd5f97026852ab47a3dab1877b6380174ab7d879 /llvm/tools/llvm-c-test/helpers.c
parent4d6fb72aa93dee764f2dac5dcf324bf45f062e4b (diff)
downloadbcm5719-llvm-e477a0e5ec675ed3f15e746ef3f447faa2a1e419.tar.gz
bcm5719-llvm-e477a0e5ec675ed3f15e746ef3f447faa2a1e419.zip
[analyzer] Teach RetainCountChecker about VTCompressionSessionEncodeFrame()
The context argument passed to VideoToolbox's VTCompressionSessionEncodeFrame() function is ultimately passed to a callback supplied when creating the compression session and so may be freed by that callback. To suppress false positives in this case, teach the retain count checker to stop tracking that argument. This isn't suppressed by the usual callback context mechanism because the call to VTCompressionSessionEncodeFrame() doesn't include the callback itself. rdar://problem/27685213 llvm-svn: 286633
Diffstat (limited to 'llvm/tools/llvm-c-test/helpers.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud