This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Define the atomic type sizes
ClosedPublic

Authored by sunfish on Sep 14 2015, 2:05 PM.

Details

Summary

WebAssembly's spec has now been updated to specify some guarantees about lock free atomic accesses. Update clang to match.

This also updates sig_atomic_t to be 64-bit on wasm64. WebAssembly does not presently have asynchronous interrupts, but this change is within the spirit of how they will work if they are added.

Diff Detail

Repository
rL LLVM

Event Timeline

sunfish updated this revision to Diff 34731.Sep 14 2015, 2:05 PM
sunfish retitled this revision from to [WebAssembly] Define the atomic type sizes.
sunfish updated this object.
sunfish added a reviewer: jfb.
sunfish set the repository for this revision to rL LLVM.
sunfish added a subscriber: cfe-commits.
jfb accepted this revision.Sep 14 2015, 2:12 PM
jfb edited edge metadata.

lgtm

This revision is now accepted and ready to land.Sep 14 2015, 2:12 PM
This revision was automatically updated to reflect the committed changes.