[PATCH] D81689: [WebAssembly] New-style command support
Catalin Stan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 20 00:51:56 PST 2022
realuptime added a comment.
Hey, this new behaviour broke existing functionality!
I can still see this a workaround by making a call to __wasm_call_ctors.
**Be sure that people are notified when such functionality change!**
Calling by default C++ static constructors and functions (static int x = somefunc()) for each "export" entry point is a very very bad idea!!!
I had to compile with -fno-c++-static-destructors first and then refactor my code.
Here is my GitHub issue, which is closed now after spending two days finding the cause!
https://github.com/WebAssembly/WASI/issues/471
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81689/new/
https://reviews.llvm.org/D81689
More information about the llvm-commits
mailing list