[llvm-commits] [PATCH] MCJIT unit test bugs

Amara Emerson amara.emerson at arm.com
Wed Oct 31 08:12:25 PDT 2012


Hi,

We've discovered 2 problems in the MCJIT unit tests which have already been
fixed in lli.

The first is the cache invalidation bug, which can easily be fixed by adding
calls to invalidateInstructionCache() before executing each test function.
The second is the buggy memory alignment handling by allocateDataSection()
in the SectionMemoryManager. The fix from r166920 has been ported to the
unit test.

Review and commit appreciated.

Amara
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcjit-unittest-cacheandalignment.patch
Type: application/octet-stream
Size: 3273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121031/d8e49683/attachment.obj>


More information about the llvm-commits mailing list