[clang] [lld] [llvm] Conditionalize use of POSIX features missing on WASI/WebAssembly (PR #92677)

James Y Knight via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 14 17:37:32 PDT 2024


https://github.com/jyknight commented:

Overall, I think this would be improved by splitting off a bunch of the lib/Support/Unix/*.inc files into separate lib/Support/WASI/*.inc files. Some of these files do seem to make sense to share, e.g. Path.inc, but seems to me like most of the rest are almost 100% stubbed out for WASI, and it would be clearer to have those no-op stubs in a separate WASI dir.

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


More information about the cfe-commits mailing list