[all-commits] [llvm/llvm-project] 989ce0: [clang][WebAssembly] Link crt1 even in case of -sh...
YAMAMOTO Takashi via All-commits
all-commits at lists.llvm.org
Mon Aug 14 09:37:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 989ce069a4638fd561bebc95f478ca9e45154fec
https://github.com/llvm/llvm-project/commit/989ce069a4638fd561bebc95f478ca9e45154fec
Author: YAMAMOTO Takashi <yamamoto at midokura.com>
Date: 2023-08-14 (Mon, 14 Aug 2023)
Changed paths:
M clang/lib/Driver/ToolChains/WebAssembly.cpp
M clang/test/Driver/wasm-toolchain.c
Log Message:
-----------
[clang][WebAssembly] Link crt1 even in case of -shared
This allows -mexec-model=reactor -shared produces a library module
with _initialize entrypoint, which is preferrable over __wasm_call_ctors.
This partially reverts https://reviews.llvm.org/D153293
Discussion: https://github.com/dicej/component-linking-demo/issues/3
Reviewed By: sbc100
Differential Revision: https://reviews.llvm.org/D156205
More information about the All-commits
mailing list