The Old personality function gets copied over, but the Materializer didn't have a chance to inspect it (e.g. to fix up references to the correct module for the target function). Also add a verifier check that makes sure the personality routine is in the same module as the function whose personality it is.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Transforms/Utils/CloneFunction.cpp | ||
---|---|---|
99 ↗ | (On Diff #39620) | It doesn't matter, because it gets copied over above, but sure, I'll change it to make it more clear what's going on here. |