aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-09-11 07:20:40 -0700
committerSam Clegg <sbc@chromium.org>2020-09-11 11:11:02 -0700
commitfa2a8acc71ffc3632b7c5ed584af8709639443f2 (patch)
tree24c471c37c67584661c96c503c33f8ceefc15af7 /clang/lib/Frontend/CompilerInvocation.cpp
parent4da8fa45a0968a1f98010777d3731a921431ee55 (diff)
downloadllvm-fa2a8acc71ffc3632b7c5ed584af8709639443f2.zip
llvm-fa2a8acc71ffc3632b7c5ed584af8709639443f2.tar.gz
llvm-fa2a8acc71ffc3632b7c5ed584af8709639443f2.tar.bz2
[WebAssembly] Add assembly syntax for mutable globals
This adds and optional ", immutable" to the end of a `.globaltype` declaration. I would have prefered to match the `.wat` syntax where immutable is the default and `mut` is the signifier for mutable globals. Sadly changing the default would break backwards compat with existing assembly in the wild so I think its best to stick with this approach. Differential Revision: https://reviews.llvm.org/D87515
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions