[PATCH] D12862: [WebAssembly] Define the atomic type sizes

Dan Gohman via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 14 14:05:02 PDT 2015


sunfish created this revision.
sunfish added a reviewer: jfb.
sunfish added a subscriber: cfe-commits.
sunfish set the repository for this revision to rL LLVM.
Herald added subscribers: dschuff, jfb.

WebAssembly's spec has now been updated to specify some [guarantees about lock free atomic accesses](https://github.com/WebAssembly/design/pull/336). 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.

Repository:
  rL LLVM

http://reviews.llvm.org/D12862

Files:
  lib/Basic/Targets.cpp
  test/Preprocessor/init.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12862.34731.patch
Type: text/x-patch
Size: 5838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150914/3c09a286/attachment.bin>


More information about the cfe-commits mailing list