[compiler-rt] r183642 - tsan: fix lint warnings

David Blaikie dblaikie at gmail.com
Mon Jun 10 13:41:52 PDT 2013


On Mon, Jun 10, 2013 at 3:00 AM, Dmitry Vyukov <dvyukov at google.com> wrote:
> Author: dvyukov
> Date: Mon Jun 10 05:00:54 2013
> New Revision: 183642
>
> URL: http://llvm.org/viewvc/llvm-project?rev=183642&view=rev
> Log:
> tsan: fix lint warnings

This seems to be a recurring cleanup task - is there a reason it's not
part of the default/commonly-used build targets for compiler-rt?

>
> Modified:
>     compiler-rt/trunk/lib/lsan/lit_tests/TestCases/ignore_object.cc
>     compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
>     compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h
>
> Modified: compiler-rt/trunk/lib/lsan/lit_tests/TestCases/ignore_object.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/lit_tests/TestCases/ignore_object.cc?rev=183642&r1=183641&r2=183642&view=diff
> ==============================================================================
> --- compiler-rt/trunk/lib/lsan/lit_tests/TestCases/ignore_object.cc (original)
> +++ compiler-rt/trunk/lib/lsan/lit_tests/TestCases/ignore_object.cc Mon Jun 10 05:00:54 2013
> @@ -26,5 +26,5 @@ int main() {
>    return 0;
>  }
>  // CHECK: Test alloc: [[ADDR:.*]].
> -// CHECK: ignoring heap object at [[ADDR]]
> +// CHECK: ignoring heap object at [[ADDR]]
>  // CHECK: SUMMARY: LeakSanitizer: 1337 byte(s) leaked in 1 allocation(s)
>
> Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc?rev=183642&r1=183641&r2=183642&view=diff
> ==============================================================================
> --- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc (original)
> +++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc Mon Jun 10 05:00:54 2013
> @@ -207,14 +207,15 @@ namespace __sanitizer {
>    unsigned struct_ppp_stats_sz = sizeof(struct ppp_stats);
>    unsigned struct_scc_modem_sz = sizeof(struct scc_modem);
>    unsigned struct_scc_stat_sz = sizeof(struct scc_stat);
> -  unsigned struct_serial_multiport_struct_sz = sizeof(struct serial_multiport_struct);
> +  unsigned struct_serial_multiport_struct_sz
> +      = sizeof(struct serial_multiport_struct);
>    unsigned struct_serial_struct_sz = sizeof(struct serial_struct);
>    unsigned struct_sockaddr_ax25_sz = sizeof(struct sockaddr_ax25);
>    unsigned struct_unimapdesc_sz = sizeof(struct unimapdesc);
>    unsigned struct_unimapinit_sz = sizeof(struct unimapinit);
>  #endif
>
> -#if !SANITIZER_ANDROID
> +#if !SANITIZER_ANDROID
>    unsigned struct_sioc_sg_req_sz = sizeof(struct sioc_sg_req);
>    unsigned struct_sioc_vif_req_sz = sizeof(struct sioc_vif_req);
>  #endif
>
> Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h?rev=183642&r1=183641&r2=183642&view=diff
> ==============================================================================
> --- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h (original)
> +++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.h Mon Jun 10 05:00:54 2013
> @@ -219,7 +219,7 @@ namespace __sanitizer {
>    extern unsigned struct_unimapdesc_sz;
>    extern unsigned struct_unimapinit_sz;
>  #endif
> -
> +
>  #if !SANITIZER_ANDROID
>    extern unsigned struct_sioc_sg_req_sz;
>    extern unsigned struct_sioc_vif_req_sz;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list