sbc100 added a comment.
__wasm_argc_argv -> __main_argc_argv in the title?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70700/new/
https://reviews.llvm.org/D70700
___
cfe-commits mailing list
cfe-comm
sunfish updated this revision to Diff 234942.
sunfish added a comment.
To support a transition to the new system, temporarily define a `__main_void`
alias for no-argument `main`. This allows libc to detect whether it's calling
old-style or new-style main and do the right thing.
Repository:
r
sunfish updated this revision to Diff 234426.
sunfish added reviewers: sbc100, dschuff, aheejin.
sunfish added a comment.
This updates the `main` vs `__main_argc_argv` patch so that it doesn't apply to
Emscripten targets, following the discussion in
https://github.com/WebAssembly/tool-convention
sunfish created this revision.
Herald added subscribers: llvm-commits, dexonsmith, aheejin, jgravelle-google,
sbc100, mehdi_amini, dschuff.
Herald added projects: clang, LLVM.
WebAssembly enforces a rule that caller and callee signatures must
match. This means that the traditional technique of pa