diff options
| author | Ivan Krasin <krasin@chromium.org> | 2011-08-22 23:08:53 +0000 |
|---|---|---|
| committer | Ivan Krasin <krasin@chromium.org> | 2011-08-22 23:08:53 +0000 |
| commit | b296790bb6d6bc97c52c2e3642735d7aa453ac96 (patch) | |
| tree | c276b7a67c3d24d911573a52509650b70428fa9f /llvm/lib/Support | |
| parent | 40da0631785de78414974ab37add94f933755c73 (diff) | |
| download | bcm5719-llvm-b296790bb6d6bc97c52c2e3642735d7aa453ac96.tar.gz bcm5719-llvm-b296790bb6d6bc97c52c2e3642735d7aa453ac96.zip | |
Add NativeClient support to Triple::ParseOS.
llvm-svn: 138291
Diffstat (limited to 'llvm/lib/Support')
| -rw-r--r-- | llvm/lib/Support/Triple.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index 8bb7f382329..ccb1a249761 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/lib/Support/Triple.cpp @@ -356,6 +356,8 @@ Triple::OSType Triple::ParseOS(StringRef OSName) { return Minix; else if (OSName.startswith("rtems")) return RTEMS; + else if (OSName.startswith("nacl")) + return NativeClient; else return UnknownOS; } |

