[WebAssembly] Support multilibs for wasm32 and add a wasm OS that uses it
authorDan Gohman <dan433584@gmail.com>
Tue, 15 Jan 2019 06:58:13 +0000 (06:58 +0000)
committerDan Gohman <dan433584@gmail.com>
Tue, 15 Jan 2019 06:58:13 +0000 (06:58 +0000)
commit1839dfd6d44fb9c0b9b352fc7ecbabac90cc1c7e
treeb5535b16566e691553ac64b615391b4e1d0c497f
parent3c5423b26ea1686890271a7177387b38bae1495d
[WebAssembly] Support multilibs for wasm32 and add a wasm OS that uses it

This adds support for multilib paths for wasm32 targets, following
[Debian's Multiarch conventions], and also adds an experimental OS name in
order to test it.

[Debian's Multiarch conventions]: https://wiki.debian.org/Multiarch/

Differential Revision: https://reviews.llvm.org/D56553

llvm-svn: 351163
llvm/include/llvm/ADT/Triple.h
llvm/lib/Support/Triple.cpp
llvm/unittests/ADT/TripleTest.cpp