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 | 44306e2e5f20372e32b265e6cfe7495ee20011a3 (patch) | |
tree | f8405d100e7fead8ff639d1ac61293daf684444b /llvm/lib/Support/Triple.cpp | |
parent | 18db5d4e9da599eedb864e82d92f93605651c7f3 (diff) | |
download | bcm5719-llvm-44306e2e5f20372e32b265e6cfe7495ee20011a3.tar.gz bcm5719-llvm-44306e2e5f20372e32b265e6cfe7495ee20011a3.zip |
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).
llvm-svn: 138005
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r-- | llvm/lib/Support/Triple.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index 05e1f922199..8bb7f382329 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/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>"; |