<div dir="ltr"><div dir="ltr">See <a href="https://reviews.llvm.org/D51364">https://reviews.llvm.org/D51364</a> - a very similar bug was introduced by a compiler-rt change and then fixed by a revert.<br></div><div dir="ltr"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 10, 2018 at 8:54 AM, David Greene via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The mmap.cc test is failing for me on aarch64 SuSE 12.  The assert<br>
assert(AddrIsApp(p)) fails.  The last value printed from mmap is<br>
0xf00000000 which is indeed not MAP_FAILED but also not a valid address<br>
acoording to mmap.cc's mapping table.<br>
<br>
Is there something about SuSE 12's kernel that behaves differently from<br>
what this test expects?  I am not a kernel guy...<br>
<br>
The sequence of the last handful of addresses returned and printed by<br>
the test is:<br>
<br>
0x5600000000<br>
0x5500000000<br>
0x5400000000<br>
0x5300000000<br>
0x5200000000<br>
0x5100000000<br>
0x5000000000<br>
0xf00000000<br>
<br>
That jump in value looks suspicious to me.<br>
<br>
Also, a lot of sanitizer symbols are reported to be "optimized out" by<br>
gdb even with a debug LLVM build and gdb gets very confused about where<br>
execution is going.  Is that expected?  Is there a special cmake build<br>
flag to enable more debug info in compiler-rt and/or the sanitizer<br>
runtime?<br>
<br>
                             -David<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div>