This is an archive of the discontinued LLVM Phabricator instance.

Reland r312224 - [ItaniumCXXABI] Always use linkonce_odr linkage for RTTI data on MinGW
ClosedPublic

Authored by mstorsjo on Aug 31 2017, 3:20 AM.

Details

Summary

This fixes cases where dynamic classes produced RTTI data with external linkage, producing linker errors about duplicate symbols.

This touches code close to what was changed in SVN r244266, but this change doesn't break the tests added in that revision.

The previous version had missed to update CodeGenCXX/virt-dtor-key.cpp, which had a behaviour change only when running the testsuite on windows.

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.Aug 31 2017, 3:20 AM
compnerd accepted this revision.Aug 31 2017, 10:43 PM
This revision is now accepted and ready to land.Aug 31 2017, 10:43 PM
This revision was automatically updated to reflect the committed changes.