Be sure to set the DataLayout before checking the cache.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 23 Jun 2015 14:42:34 +0000 (14:42 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 23 Jun 2015 14:42:34 +0000 (14:42 +0000)
commit7376033762176723af0ac734a9034b0544ad1a9a
treedbf172594d320acd76a9a341e6f70bccc1ca11eb
parent115be6213ddb21348f1dae4c5512efd519e6d09f
Be sure to set the DataLayout before checking the cache.

This makes sure the same mangling is used.

Should fix the OS X bots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240411 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/MCJIT/MCJIT.cpp