This consist in variosu addition to the C API:
LLVMTargetDataRef LLVMGetModuleDataLayout(LLVMModuleRef M); void LLVMSetModuleDataLayout(LLVMModuleRef M, LLVMTargetDataRef DL); LLVMTargetDataRef LLVMCreateTargetMachineData(LLVMTargetMachineRef T);
This also removes LLVMAddTargetData, which does nothing and is historical cruft.
Not clear why it isn't at the same place as LLVMGetDataLayout