[clang][WebAssembly] Pass `-Wa,--no-type-check` through to the MC layer
authorSam Clegg <sbc@chromium.org>
Thu, 4 Aug 2022 23:03:21 +0000 (16:03 -0700)
committerSam Clegg <sbc@chromium.org>
Thu, 1 Sep 2022 09:56:58 +0000 (02:56 -0700)
commit849df8f6f0a6ded83e36aa52b6daa6b950289804
treeccea411e8b011922259e8f5372ad5c8127c22b05
parentd46ea783e6fad5d92f9f0aaa96f979ca826403e3
[clang][WebAssembly] Pass `-Wa,--no-type-check` through to the MC layer

I took as an example the `-Wa,--noexecstack` clang flag that maps down
to `cc1 -mnoexecstack`.

Differential Revision: https://reviews.llvm.org/D131217
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/notypecheck.s [new file with mode: 0644]
clang/tools/driver/cc1as_main.cpp