[PATCH] D156205: wasm: link crt1 even in case of -shared

Sam Clegg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 25 01:34:10 PDT 2023


sbc100 added a comment.

I think we are vearing into somewhat uncharted territory here, but we should probably push forward and document the direction we choose.

Should `-shared` modules also link with `crt1-reactor.o` by default then?   Or should we add `crt1-shared.o` and use the whenever `-shared` is passed.  Should we also make `-shared` incompatible with `-mexec-model`?  It seems like `-mexec-model` should only apply to the main module, and not to the shared library that it loads.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156205/new/

https://reviews.llvm.org/D156205



More information about the cfe-commits mailing list