[Driver] -fsanitize=function: unsupport wasm after D148573
authorFangrui Song <i@maskray.me>
Mon, 22 May 2023 17:40:04 +0000 (10:40 -0700)
committerFangrui Song <i@maskray.me>
Mon, 22 May 2023 17:40:04 +0000 (10:40 -0700)
commit39ba913d13ab15c76cb6b5aa066fa111ddfe944b
tree25698bba3c8129146ecaba61d84712c359acb199
parent60d36ef096ce6563350a6ef6d7ea97f80d10564f
[Driver] -fsanitize=function: unsupport wasm after D148573

D148573 made x86-specific -fsanitize=function available to all targets,
but wasm doesn't allow placing data words before the function label,
so unsupport wasm.
clang/lib/Driver/ToolChains/WebAssembly.cpp
clang/test/Driver/wasm-toolchain.c