aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2020-02-27 07:51:37 -0800
committerDan Gohman <sunfish@mozilla.com>2020-02-27 07:55:01 -0800
commit197bda587b4bb5e7603ad05fc1106332edc6afbd (patch)
tree2de68607b7b331e046f57f14e8919fb996063591 /clang/lib/Basic/Module.cpp
parentc08384a3aeeb81646750543cd5637e096d6fc4b1 (diff)
downloadllvm-197bda587b4bb5e7603ad05fc1106332edc6afbd.zip
llvm-197bda587b4bb5e7603ad05fc1106332edc6afbd.tar.gz
llvm-197bda587b4bb5e7603ad05fc1106332edc6afbd.tar.bz2
[WebAssembly] Teach lld how to demangle "__main_argc_argv".
WebAssembly requires that caller and callee signatures match, so it can't do the usual trick of passing more arguments to main than it expects. Instead WebAssembly will mangle "main" with argc/argv parameters as "__main_argc_argv". This patch teaches lld how to demangle it. This patch is part of https://reviews.llvm.org/D70700.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions