For https://reviews.llvm.org/D99173 I need to introduce an extra 'LLVMModuleRef' argument to 'LLVMIntrinsicCopyOverloadedName', so that we correctly handle intrinsics with arguments based on unnamed types. Can this be done ? Or is it recommended to add a 'LLVMIntrinsicCopeOverloadedName2' with the extra argument ? And keep the original one for backwards compatibility ? Thanks, Jeroen Dobbelaere
> For https://reviews.llvm.org/D99173 I need to introduce an extra > 'LLVMModuleRef' argument to 'LLVMIntrinsicCopyOverloadedName', > so that we correctly handle intrinsics with arguments based on > unnamed types. > > Can this be done ? Or is it recommended to add a > 'LLVMIntrinsicCopeOverloadedName2' with the extra argument ? > And keep the original one for backwards compatibility ?The C API has a strict backward compatibility rule; you will need to add a new function that has the additional parameter. --paulr