Files
llvm-project/llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
Mircea Trofin 8f69cdd542 [NFC] CfiFunctions are relevant when promoting from the original module only (#181080)
`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.
2026-02-17 21:13:09 +00:00

22 KiB