[compiler-rt] r199390 - [asan] Fix a build warning on windows.

David Blaikie dblaikie at gmail.com
Thu Jan 16 12:55:54 PST 2014


What was the warning? Could Clang have reasonable caught/warned about this?


On Thu, Jan 16, 2014 at 6:21 AM, Evgeniy Stepanov <eugeni.stepanov at gmail.com
> wrote:

> Author: eugenis
> Date: Thu Jan 16 08:21:17 2014
> New Revision: 199390
>
> URL: http://llvm.org/viewvc/llvm-project?rev=199390&view=rev
> Log:
> [asan] Fix a build warning on windows.
>
> Modified:
>     compiler-rt/trunk/lib/asan/asan_activation.cc
>
> Modified: compiler-rt/trunk/lib/asan/asan_activation.cc
> URL:
> http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_activation.cc?rev=199390&r1=199389&r2=199390&view=diff
>
> ==============================================================================
> --- compiler-rt/trunk/lib/asan/asan_activation.cc (original)
> +++ compiler-rt/trunk/lib/asan/asan_activation.cc Thu Jan 16 08:21:17 2014
> @@ -22,8 +22,8 @@ namespace __asan {
>  static struct AsanDeactivatedFlags {
>    int quarantine_size;
>    int max_redzone;
> -  int poison_heap;
>    int malloc_context_size;
> +  bool poison_heap;
>  } asan_deactivated_flags;
>
>  static bool asan_is_deactivated;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140116/b73aea07/attachment.html>


More information about the llvm-commits mailing list