This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Revert __uninitialized_buffer changes
ClosedPublic

Authored by ldionne on Jun 29 2023, 3:16 PM.

Details

Reviewers
jdoerfert
ldionne
Group Reviewers
Restricted Project
Commits
rGf13e1a65cabb: [libc++] Revert __uninitialized_buffer changes
Summary

This patch reverts the following commits:

015cd317eaed28a923d14a33c9d6739012a688be (add missing HIDE_FROM_ABI)
420a204d52205f1277a8d5df3dbafac6082e02e2 (add _LIBCPP_NO_CFI)
31eeba3f7c0e2ef4a21c07da9326a4ae1a8de7e2 (add __uninitialized_buffer)

It also reverts a small part of b935ab8e747cf52ff12471879460206a9f433eea
which is required to make the stable_partition.pass.cpp test pass on GCC.

Some issues were pointed out in https://reviews.llvm.org/D152208 and
in https://reviews.llvm.org/D154017, so I am reverting this patch
until we have time to weigh the various solutions and get consensus
on the design of the API.

Diff Detail

Event Timeline

ldionne created this revision.Jun 29 2023, 3:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2023, 3:16 PM
ldionne requested review of this revision.Jun 29 2023, 3:16 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Jun 29 2023, 3:23 PM

I will merge this once CI is green.

This revision is now accepted and ready to land.Jun 29 2023, 3:23 PM
ldionne updated this revision to Diff 536113.Jun 29 2023, 10:39 PM
ldionne edited the summary of this revision. (Show Details)

Fix CI. This revert is kinda tricky.

This revision was automatically updated to reflect the committed changes.
libcxx/include/__memory/construct_at.h