[compiler-rt] r237534 - [asan] Disable static-tls test on PowerPC.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Sat May 16 22:38:11 PDT 2015


I think this test shows a problem with TLS handling in ASan on
PowerPC: address of an initial-exec thread-local variable does not
belong to the current thread TLS address range. Either we calculate
the range incorrectly, or there is something unusual about
__tls_get_addr on PowerPC that we do not handle well.


On Sat, May 16, 2015 at 10:24 PM, Evgeniy Stepanov
<eugeni.stepanov at gmail.com> wrote:
> Author: eugenis
> Date: Sun May 17 00:24:09 2015
> New Revision: 237534
>
> URL: http://llvm.org/viewvc/llvm-project?rev=237534&view=rev
> Log:
> [asan] Disable static-tls test on PowerPC.
>
> Modified:
>     compiler-rt/trunk/test/asan/TestCases/Linux/static_tls.cc
>
> Modified: compiler-rt/trunk/test/asan/TestCases/Linux/static_tls.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/static_tls.cc?rev=237534&r1=237533&r2=237534&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/asan/TestCases/Linux/static_tls.cc (original)
> +++ compiler-rt/trunk/test/asan/TestCases/Linux/static_tls.cc Sun May 17 00:24:09 2015
> @@ -9,6 +9,8 @@
>  // CHECK: __tls_get_addr: static tls
>  // CHECK: after
>
> +// XFAIL: powerpc64
> +
>  #ifndef SHARED
>  #include <stdio.h>
>
>
>
> _______________________________________________
> 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