This is an archive of the discontinued LLVM Phabricator instance.

Add support for __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8} on x86.
ClosedPublic

Authored by Bigcheese on Apr 3 2013, 5:36 PM.

Details

Summary

This fixes std::thread with libstdc++.

Diff Detail

Event Timeline

I checked the defines with the system gcc on fedora 17. LGTM

Bigcheese accepted this revision.Apr 4 2013, 4:55 PM
Bigcheese closed this revision.

r178816