[PATCH] D12263: Fix LLVM C API for DataLayout

Amaury SECHET via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 22 13:07:51 PDT 2015


deadalnix added a subscriber: deadalnix.
deadalnix added a comment.

So, you kept the old LLVMGetTargetMachineData working, but marked it as depreacated, and introduced the new LLVMGetDataLayout method as pa preferred way to get the datalayout. Is that it ?

While creating a module from the C API, one has to request the target machine for its datalayout to feed it to the module. How one is supposed to get this datalayout (in order to create a module) if the prefereed way to get a data layout require a module to begin with ?


http://reviews.llvm.org/D12263





More information about the llvm-commits mailing list