`CfiFunctions` contains only pointers to IR objects in the original `Module`. When we `promoteInternals`, we try to find such pointers from the first (exporting) module in the `CfiFunctions` set. That will always fail (as in, no values will be found) in the first case, when the exporting module is the merged module. This PR makes it more obvious that the `CfiFunctions` set is only relevant for the second promotion.
22 KiB
22 KiB