[scan-build] Fix reported unix api bugs

Apelete Seketeli via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 3 03:21:26 PDT 2016


Hello,

Here are a few changes that try to address some logic error bugs
reported by running scan-build over the Compiler-RT code base.

I have no background in compiler technology and I may have been trying
to fix false positives; here is a quick overview of what scan-build
reported, let me know if the fixes are relevant:

Bug Group: Unix API
Bug Type: Allocator sizeof operand mismatch
Files: lib/builtins/emutls.c

Cheers.
-- 
        Apelete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scan-build-compiler-rt-errors.patch
Type: text/x-diff
Size: 998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160403/89be8943/attachment.patch>


More information about the llvm-commits mailing list