[PATCH] D46585: Align ClearShadowForThreadStackAndTLS for NetBSD/i386

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 11 10:35:49 PDT 2018


vitalybuka added a comment.

I see.
following should work, but I don't insist

  FastPoisonShadowPartialRightRedzone(tls_begin_aligned, tls_end_ - tls_begin_aligned, tls_end_aligned - tls_end_, 0 /*does not matter, should not be used*/)



In https://reviews.llvm.org/D46585#1096044, @krytarowski wrote:

> I need to align both in order to make it to work.
>
> Otherwise, I'm observing:
>
>   ==28177==AddressSanitizer CHECK failed: /public/llvm/projects/compiler-rt/lib/asan/asan_poisoning.cc:38 "((AddrIsAlignedByGranularity(addr + size))) != (0)" (0x0, 0x0)
>





Repository:
  rL LLVM

https://reviews.llvm.org/D46585





More information about the llvm-commits mailing list