diff options
author | Ivan Krasin <krasin@chromium.org> | 2011-08-18 22:54:21 +0000 |
---|---|---|
committer | Ivan Krasin <krasin@chromium.org> | 2011-08-18 22:54:21 +0000 |
commit | fb23462889ff2dcd016a4b4169ebce94a878218e (patch) | |
tree | ab51d0c38c87d70a137d9382ccce8237c4787029 /lib/Support/Triple.cpp | |
parent | 78affc9ea1978d707b376180ec559b62fbf9ea05 (diff) |
Add NativeClient operating system support.
This patch adds support of NativeClient (*-*-nacl) OS support to LLVM.
It's already supported in autoconf/config.sub.
The motivation for this change is to start upstreaming PNaCl work. The
whole set of patches include llvm backends (i686, x86_64, ARM),
llvm-gcc (probably, would not be upstreamed because it's deprecated)
and clang (the work has been just started, the amount of changes is
going to be low and the most of the work is expected to be done close
to the mainline).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Triple.cpp')
-rw-r--r-- | lib/Support/Triple.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index 05e1f92219..8bb7f38232 100644 --- a/lib/Support/Triple.cpp +++ b/lib/Support/Triple.cpp @@ -110,6 +110,7 @@ const char *Triple::getOSTypeName(OSType Kind) { case Haiku: return "haiku"; case Minix: return "minix"; case RTEMS: return "rtems"; + case NativeClient: return "nacl"; } return "<invalid>"; |