[PATCH] D11103: Remove access to the DataLayout in the TargetMachine

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Jul 16 09:20:58 PDT 2015


> rafael wrote:
>> I think this is from the days when we supported the module not having a DL. We should probably try to remove it in another patch.
> I'm not very familiar with the JIT use case, but how is the client creating the module? And how can he makes sure that the DL on the module that he will give to the JIT is the one the TargetMachine expects?
> Is he supposed to keep a reference to the TargetMachine when creating the JIT?

I am not too familiar with the JIT, but that is probably a reasonable
requirement for LTO.

Cheers,
Rafael



More information about the llvm-commits mailing list