This is an archive of the discontinued LLVM Phabricator instance.

Introduce _LIBCPP_ABI_UNSTABLE to libc++
AbandonedPublic

Authored by mclow.lists on Dec 17 2014, 2:17 PM.

Details

Reviewers
chandlerc
joerg
Summary

First step towards letting vendors manage ABI changes in libc++.

Introduce the _LIBCPP_ABI_UNSTABLE macro, which turns on all the ABI changes.

Introduce the _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT macro, which controls the layout of std::string objects. This is a synonym for the _LIBCPP_ALTERNATE_STRING_LAYOUT macro.

Diff Detail

Event Timeline

mclow.lists retitled this revision from to Introduce _LIBCPP_ABI_UNSTABLE to libc++.
mclow.lists updated this object.
mclow.lists edited the test plan for this revision. (Show Details)
mclow.lists added reviewers: chandlerc, EricWF, joerg.
mclow.lists changed the edit policy from "All Users" to "mclow.lists (Marshall Clow)".
mclow.lists added a subscriber: Unknown Object (MLST).

Will probably want to expose _LIBCPP_ABI_UNSTABLE as a cmake option.

Added support for lit and CMAKE - thanks to ErikWF for these bits

chandlerc requested changes to this revision.Mar 29 2015, 2:19 PM
chandlerc edited edge metadata.

FYI, as I commented on the original discussion, I'd personally like to see this have some versioning scheme before it goes in rather than a binary "unstable". Or some plan for getting there.

Otherwise this looks good as a first step.

This revision now requires changes to proceed.Mar 29 2015, 2:19 PM
EricWF resigned from this revision.Dec 12 2015, 11:40 AM
EricWF removed a reviewer: EricWF.

This is really old and should be closed.

mclow.lists abandoned this revision.Apr 13 2016, 10:38 AM