projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c2165b
)
Add NativeClient support to Triple::ParseOS.
author
Ivan Krasin
<krasin@chromium.org>
Mon, 22 Aug 2011 23:08:53 +0000
(23:08 +0000)
committer
Ivan Krasin
<krasin@chromium.org>
Mon, 22 Aug 2011 23:08:53 +0000
(23:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138291
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Triple.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/Triple.cpp
b/lib/Support/Triple.cpp
index 8bb7f382329c88d170cf06d08cf02d79cca21a23..ccb1a249761c645135db2dfcc60548e52c74a3c4 100644
(file)
--- a/
lib/Support/Triple.cpp
+++ b/
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;
}