[llvm-commits] [llvm] r170350 - /llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp

Tim Northover t.p.northover at gmail.com
Mon Dec 17 12:48:46 PST 2012


> While your next commit probably exercises this, is it possible to test it
> independently? Just curious.

This patch is actually fixing a regression I introduced into ARM MCJIT
on ELF (the first symbol in a section had ST_Unknown, so .text wasn't
marked executable and execution segfaulted), which is why there are no
explicit tests here. A regression test run on ARM Linux would pick it
up.

Do you know of any RuntimeDyld tests that aren't target-specific? In
principle we could have a unittest that loaded a provided object and
checked the sections created (with a custom memorymanager?). There
doesn't appear to be much precedent for that approach though.

Tim.



More information about the llvm-commits mailing list