This is an archive of the discontinued LLVM Phabricator instance.

[MS] Emit exported complete/vbase destructors
ClosedPublic

Authored by rnk on Dec 2 2019, 3:56 PM.

Details

Summary

Fixes PR44205

I checked, and deleting destructors are not affected.

Diff Detail

Event Timeline

rnk created this revision.Dec 2 2019, 3:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2019, 3:57 PM
hans accepted this revision.Dec 3 2019, 2:28 AM

Nice, thanks!

clang/lib/CodeGen/MicrosoftCXXABI.cpp
1349

The grammar looks funny here: "when the class was dllexported inlines are being exported".

This revision is now accepted and ready to land.Dec 3 2019, 2:28 AM
rnk marked an inline comment as done.Dec 3 2019, 2:47 PM
rnk added inline comments.
clang/lib/CodeGen/MicrosoftCXXABI.cpp
1349

Thanks, too much editing leads to mistakes. =/ Cleaned up to:

// FIXME: To match MSVC, this should only be done when the class is exported
// with -fdllexport-inlines enabled.
This revision was automatically updated to reflect the committed changes.