]> granicus.if.org Git - clang/commit
[WebAssembly] Add mutable globals feature
authorThomas Lively <tlively@google.com>
Fri, 29 Mar 2019 22:00:18 +0000 (22:00 +0000)
committerThomas Lively <tlively@google.com>
Fri, 29 Mar 2019 22:00:18 +0000 (22:00 +0000)
commited9234835496bbbc16765e64e13dd34d2703ca33
tree7358473030ce26d3edc43d15a947bef0950fc20f
parent0cf9ba250e8ec340f5dc0fda616024e0a59f2f1d
[WebAssembly] Add mutable globals feature

Summary:
This feature is not actually used for anything in the WebAssembly
backend, but adding it allows users to get it into the target features
sections of their objects, which makes these objects
future-compatible.

Reviewers: aheejin, dschuff

Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, jdoerfert, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D60013

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357321 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Basic/Targets/WebAssembly.cpp
lib/Basic/Targets/WebAssembly.h
test/Preprocessor/wasm-target-features.c