yamt added a comment.

> 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.

wasi reactor model is for libraries.
i feel it's natural to make it cover shared libraries as well.

but i agree it can be done as you described too.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156205

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to