[clang] CodeGen: support static linking for libclosure (PR #125384)

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 3 14:28:42 PST 2025


compnerd wrote:

I can see that as being useful certainly. `-fblocks` could add `-lBlocksRuntime`. However, I think that the behaviour change with `-static-libclosure` would then impact both code generation (on Windows) and the linking, which would give the correct desired behaviour. Where as, only changing the linking behaviour would come at the of preventing some optimizations and only linking appropriately.

https://github.com/llvm/llvm-project/pull/125384


More information about the cfe-commits mailing list