[llvm-dev] [compiler-rt][msan] msan tests failing on AArch64

Evgenii Stepanov via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 25 13:11:24 PDT 2018


Could you run the binary a few times and collect different code addresses
it complains about?
Could be a change in ASLR randomness.
It looks like the ranges in aarch64 shadow mapping are unnecessarily
restrictive.
I did not test this, but the following seems possible:
app-14 0x0AAA000000000 .. 0x0AAB000000000
shadow-14 0x0AAC000000000 .. 0x0AAD000000000
origin-14 0x0AAD000000000 .. 0x0AAE000000000


On Thu, Oct 25, 2018 at 6:42 AM David Greene via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Adhemerval Zanella via llvm-dev <llvm-dev at lists.llvm.org> writes:
>
> > This seems to be printed by InitShadow and it is an initialization
> routine
> > which runs on all msan enabled binaries.  The only issue I think is
> runtime
> > is set __msan_track_origins by -msan-track-origins=1 option and
> unfortunately
> > it does not seem to be stressed in any testcase. Is it the case on this
> binary
> > you are testing?
>
> These are existing tests in the repository.  I don't see
> -msan-track-origins set in the RUN lines so that can't be the only thing
> that enables this message.
>
>                           -David
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181025/eb99c840/attachment.html>


More information about the llvm-dev mailing list