r284335 - [analyzer] Make MallocChecker more robust against custom redeclarations

Renato Golin via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 16 12:04:52 PDT 2016


On 16 October 2016 at 18:26, Devin Coughlin via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> Author: dcoughlin
> Date: Sun Oct 16 12:26:06 2016
> New Revision: 284335
>
> URL: http://llvm.org/viewvc/llvm-project?rev=284335&view=rev
> Log:
> [analyzer] Make MallocChecker more robust against custom redeclarations
>
> Add additional checking to MallocChecker to avoid crashing when memory
> routines have unexpected numbers of arguments. You wouldn't expect to see much
> of this in normal code (-Wincompatible-library-redeclaration warns on this),
> but, for example, CMake tests can generate these.

Hi Devin,

Sounds like yours:

http://lab.llvm.org:8011/builders/clang-cmake-aarch64-quick/builds/11121

cheers,
--renato


More information about the cfe-commits mailing list