[PATCH] D56553: [WebAssembly] Support multilibs for wasm32

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 14 12:08:28 PST 2019


sunfish added a comment.

In D56553#1356482 <https://reviews.llvm.org/D56553#1356482>, @dschuff wrote:

> One difference between the multilib style and multi-arch style is whether any headers can be shared between the 2 arches. Historically at least, with bitness-flavored variants of the same architecture there were common headers used by both, and it was just the library directories that needed to be different. I've heard anecdotally that this is not the case for ARM though.




> Would we expect that users might want to use a single sysroot to generate code for both 32-and 64-bit output?

Perhaps when we add support for wasm64, we could also add an additional include path "include/wasm-$OS", separate from "include/wasm32-$OS" and "include/wasm64-$OS", which could be shared by both wasm32 and wasm64, but still specific to wasm.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D56553





More information about the llvm-commits mailing list