[all-commits] [llvm/llvm-project] 15a5e8: [lld][WebAssembly] Allow `atomics` feature with un...
Thomas Lively via All-commits
all-commits at lists.llvm.org
Thu Sep 24 20:35:47 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 15a5e86fb387359f736e919eeb5cc2b9f4477d48
https://github.com/llvm/llvm-project/commit/15a5e86fb387359f736e919eeb5cc2b9f4477d48
Author: Thomas Lively <tlively at google.com>
Date: 2020-09-24 (Thu, 24 Sep 2020)
Changed paths:
M lld/test/wasm/shared-memory.yaml
M lld/wasm/Writer.cpp
Log Message:
-----------
[lld][WebAssembly] Allow `atomics` feature with unshared memory
https://github.com/WebAssembly/threads/issues/144 updated the
WebAssembly threads proposal to make atomic operations on unshared memories
valid. This change updates the feature checking in the linker accordingly.
Production WebAssembly engines have recently been updated to allow this
behvaior, but after this change users who accidentally use atomics with unshared
memories on older versions of the engines will get validation errors at runtime
rather than link errors.
Differential Revision: https://reviews.llvm.org/D79530
More information about the All-commits
mailing list