This is an archive of the discontinued LLVM Phabricator instance.

[Clang][CodeGen] Follow-up for `vtable`, `typeinfo` et al. are globals
ClosedPublic

Authored by AlexVlx on Jul 19 2023, 3:10 PM.

Details

Summary

Unfortunately, https://reviews.llvm.org/rG8acdcf4016876d122733991561be706b64026e73 didn't include handling for the fact that throw's implementation takes a pointer to a type's typeinfo struct, which implies that its signature needs to change as well. This patch corrects that and adds a test.

Diff Detail

Event Timeline

AlexVlx created this revision.Jul 19 2023, 3:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2023, 3:10 PM
AlexVlx requested review of this revision.Jul 19 2023, 3:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2023, 3:10 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Jul 19 2023, 3:14 PM
This revision was landed with ongoing or failed builds.Jul 19 2023, 3:58 PM
This revision was automatically updated to reflect the committed changes.