This is an archive of the discontinued LLVM Phabricator instance.

clang-cl: Fix mangling of catchable types with names longer than 4kiB
ClosedPublic

Authored by thakis on May 27 2019, 9:55 AM.

Details

Summary

The mangling used to contain the MD5 name of both the RTTI type
descriptor and the name of the copy ctor in MSVC2013, but it changed
to just the former in 2015. It looks like it changed back to the old
mangling in VS2017 version 15.7 and onwards, including VS2019 (version
16.0). VS2017 version 15.0 still has the VS2015 mangling. Versions
between 15.0 and 15.7 are't on godbolt and I don't have them locally,
so I'm not sure where exactly it changed back.

Diff Detail

Repository
rC Clang

Event Timeline

thakis created this revision.May 27 2019, 9:55 AM
hans accepted this revision.May 29 2019, 5:01 AM
hans added a subscriber: hans.

lgtm

This revision is now accepted and ready to land.May 29 2019, 5:01 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 29 2019, 6:47 AM