<div dir="ltr">1) Build clang and UBSan with RSB<div>2) Build the supported BSPs with clang so that scan-build and UBSan work</div><div><br></div><div>I built rv32iac_clang with scan-build</div><div><br></div><div><div><div><img src="cid:ii_k8nagqjb3" alt="image.png" width="527" height="207"><br></div></div></div><div><br></div><div>scan-build seems to work for it.</div><div><br></div><div>But the make is failing for some reason</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 5, 2020 at 8:23 PM Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Suyash,<div><br></div><div>This is fine, but what is really needed is to know if/how they might work on RTEMS.</div></div><div><br></div><div>Gedare</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 5, 2020 at 2:05 AM suyash singh <<a href="mailto:suyashsingh234@gmail.com" target="_blank">suyashsingh234@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Undefined behavior sanitizer</div><div><img src="cid:ii_k8mr94cq0" alt="image.png" width="507" height="286"><br></div><div><br></div><div>clang's documentation is incomplete on llvm sanitizers. Also clang installs the ubsan files at wrong locations. There is no solution on google, so I wrote my own</div><div><br></div><div> I have written the steps for installation here</div><div><br></div><div><a href="https://github.com/suyashsingh234/rtems-notes/blob/master/README.md" target="_blank">https://github.com/suyashsingh234/rtems-notes/blob/master/README.md</a><br></div><div><br></div><div><br></div></div>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div>
</blockquote></div>