[PATCH] D40121: [scudo] Make getNumberOfCPUs Fuchsia compliant v2
    blueknob via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Nov 17 02:09:40 PST 2017
    
    
  
blueknob updated this revision to Diff 123307.
blueknob added a comment.
Cache the result of `GetNumberOfCPUs()` and add boundary checks on the 
structure returned by `getdents`
Repository:
  rL LLVM
https://reviews.llvm.org/D40121
Files:
  lib/sanitizer_common/sanitizer_common.cc
  lib/sanitizer_common/sanitizer_common.h
  lib/sanitizer_common/sanitizer_fuchsia.cc
  lib/sanitizer_common/sanitizer_linux_libcdep.cc
  lib/sanitizer_common/sanitizer_mac.cc
  lib/sanitizer_common/sanitizer_win.cc
  lib/scudo/scudo_tsd_shared.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40121.123307.patch
Type: text/x-patch
Size: 6339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171117/f485c94f/attachment.bin>
    
    
More information about the llvm-commits
mailing list