<div style="font-family: arial, helvetica, sans-serif; font-size: 10pt"><div dir="ltr">On Mon, Dec 17, 2012 at 12:48 PM, Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank" class="cremed">t.p.northover@gmail.com</a>></span> wrote:<br>
<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> While your next commit probably exercises this, is it possible to test it<br>

> independently? Just curious.<br>
<br>
</div>This patch is actually fixing a regression I introduced into ARM MCJIT<br>
on ELF (the first symbol in a section had ST_Unknown, so .text wasn't<br>
marked executable and execution segfaulted), which is why there are no<br>
explicit tests here. A regression test run on ARM Linux would pick it<br>
up.<br></blockquote><div><br></div><div style>Ah, nice! This would make an excellent addition to future commit logs fwiw...</div><div style> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Do you know of any RuntimeDyld tests that aren't target-specific? In<br>
principle we could have a unittest that loaded a provided object and<br>
checked the sections created (with a custom memorymanager?). There<br>
doesn't appear to be much precedent for that approach though.<br></blockquote><div><br></div><div style>Sadly, no... =/</div></div></div></div></div>