[PATCH] D18378: Fix test failure on unrelated warnings.

Renato Golin via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 4 05:28:08 PDT 2016


rengolin resigned from this revision.
rengolin removed a reviewer: rengolin.
rengolin added a subscriber: zatrazz.
rengolin added a comment.

This is an old one, maybe should be abandoned?

In https://reviews.llvm.org/D18378#381239, @dvyukov wrote:

> I LGTMed the change for arm64 because as far as I understand tsan will just stop working as users upgrade to newer kernels. But it is not OK to alter program output all the time on arm64 either. So I assumed that the supported way to run tsan programs on arm64 now is to disable ASLR beforehand (unless until we have a better fix for the shadow mapping problem).


Just a comment here: TSAN will not stop working when users upgrade to new kernels, as @zatrazz made it work for 39, 42 and 48 VMA kernels.

> Based on that the right fix is to run tsan tests on arm64 with ASLR pre-disabled in the test driver (because that's we expect users to do now).
>  I understand that it is suboptimal for users, but at least tsan is working for them now (and hopefully majority of programs won't fail because of the additional output, so users can just ignore that warning). Long-term we may want to improve shadow memory mapping on arm64 so that it supports ASLR (Renato expressed concerns about the mapping slowdown and it is still an open question how to do it without the additional slowdown).

TSAN is working well for AArch64 on Linux and, AFAIK, Android, so I'm not sure we should treat it differently than x86_64.


https://reviews.llvm.org/D18378





More information about the llvm-commits mailing list