[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)
commit43abb7744544d8d485bcd3da6ae4293f9b6c4525
treeec1507c7162c7e55a5039c8f3dcc191879360ce3
parent4093359788b662aa3fbd96c2aea9744e5ae4a74f
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351163 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Triple.h
lib/Support/Triple.cpp
unittests/ADT/TripleTest.cpp