This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Use _LIBCPP_HIDE_FROM_ABI_VIRTUAL instead of _LIBCPP_INLINE_VISIBILITY attribute on virtual function
ClosedPublic

Authored by yronglin on Jan 10 2023, 7:39 AM.

Diff Detail

Event Timeline

yronglin created this revision.Jan 10 2023, 7:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 10 2023, 7:39 AM
yronglin requested review of this revision.Jan 10 2023, 7:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 10 2023, 7:39 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript

Thanks for the catch. I'm not sure why I am not able to reproduce this failure locally.

libcxx/include/sstream
263

This should be _LIBCPP_HIDE_FROM_ABI_VIRTUAL.

yronglin updated this revision to Diff 487818.Jan 10 2023, 8:37 AM
yronglin retitled this revision from [libc++] Remove _LIBCPP_INLINE_VISIBILITY attribute on virtual function to [libc++] Use _LIBCPP_HIDE_FROM_ABI_VIRTUAL instead of _LIBCPP_INLINE_VISIBILITY attribute on virtual function.
yronglin added a reviewer: ldionne.

Use _LIBCPP_HIDE_FROM_ABI_VIRTUAL instead of _LIBCPP_INLINE_VISIBILITY attribute on virtual function

yronglin marked an inline comment as done.Jan 10 2023, 8:40 AM
yronglin added inline comments.
libcxx/include/sstream
263

Thanks for your comments @ldionne I've updated this patch

yronglin marked an inline comment as done.Jan 10 2023, 8:43 AM

Seems another failure in clang_query.sh.cpp, but not the same problem as current. https://reviews.llvm.org/harbormaster/unit/view/5710580/

ldionne accepted this revision.Jan 10 2023, 8:49 AM

LGTM once CI is green.

This revision is now accepted and ready to land.Jan 10 2023, 8:49 AM

LGTM once CI is green.

Thanks for your review!

LGTM, the CI failure is a flake.

philnik accepted this revision.Jan 10 2023, 10:41 AM

LGTM. The CI failure is a fluke, you can just land this.

This revision was landed with ongoing or failed builds.Jan 10 2023, 4:32 PM
This revision was automatically updated to reflect the committed changes.