diff options
author | YAMAMOTO Takashi <yamamoto@midokura.com> | 2023-08-14 09:18:34 -0700 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2023-08-14 09:36:44 -0700 |
commit | 989ce069a4638fd561bebc95f478ca9e45154fec (patch) | |
tree | 2f3277b91c5bddc643c43d2a9f9f0d92a5490e6b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | aacaf3d580e9c912175fcd792e76d19d72f53428 (diff) | |
download | llvm-989ce069a4638fd561bebc95f478ca9e45154fec.zip llvm-989ce069a4638fd561bebc95f478ca9e45154fec.tar.gz llvm-989ce069a4638fd561bebc95f478ca9e45154fec.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions