[compiler-rt] r281970 - tsan: check more addresses in CheckShadowMapping

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 20 11:16:36 PDT 2016


Reverted in 281992

I don't have access to aarch64/vma42 machine to fix it reliably.
It would be great to be able to test _all_ mappings for all VMAs on
any platform as a unit test. But that will require large refactoring
of tsan_platform.h... which will in turn require access to all
platforms to ensure that refactoring does not break something...


On Tue, Sep 20, 2016 at 8:09 PM, Renato Golin <renato.golin at linaro.org> wrote:
> On 20 September 2016 at 18:05, Renato Golin <renato.golin at linaro.org> wrote:
>> Nope. Same errors:
>>
>> FATAL: ThreadSanitizer CHECK failed:
>> /home/buildslave/buildslave/clang-cmake-aarch64-42vma/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_rtl.cc:305
>> "((p & ~(kShadowCell - 1))) == ((ShadowToMem(s)))" (0x3ea00000000,
>> 0x2aa00000000)
>
> Shall we just revert this and work offline to solve this issue?
>
> cheers,
> --renato


More information about the llvm-commits mailing list