From 44306e2e5f20372e32b265e6cfe7495ee20011a3 Mon Sep 17 00:00:00 2001 From: Ivan Krasin Date: Thu, 18 Aug 2011 22:54:21 +0000 Subject: 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 --- llvm/lib/Support/Triple.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Support') 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 ""; -- cgit v1.2.3