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

Malea, Daniel daniel.malea at intel.com
Wed Oct 31 09:11:25 PDT 2012


Looks good to me, thanks Amara.

Dan

On 2012-10-31, at 11:12 AM, Amara Emerson wrote:

> 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<mcjit-unittest-cacheandalignment.patch>





More information about the llvm-commits mailing list