[Lldb-commits] [PATCH] D12615: Teach utilsOsType about NetBSD
Kamil Rytarowski via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 8 14:35:16 PDT 2015
krytarowski updated this revision to Diff 34265.
krytarowski added a comment.
abc order
Repository:
rL LLVM
http://reviews.llvm.org/D12615
Files:
scripts/utilsOsType.py
Index: scripts/utilsOsType.py
===================================================================
--- scripts/utilsOsType.py
+++ scripts/utilsOsType.py
@@ -31,6 +31,7 @@
"Darwin",
"FreeBSD",
"Linux",
+ "NetBSD",
"Windows" ]
class __metaclass__( type ):
#++---------------------------------------------------------------------------
@@ -71,6 +72,8 @@
eOSType = EnumOsType.FreeBSD
elif (strOS.startswith("linux")):
eOSType = EnumOsType.Linux
+ elif (strOS.startswith("netbsd")):
+ eOSType = EnumOsType.NetBSD
elif strOS == "win32":
eOSType = EnumOsType.Windows
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12615.34265.patch
Type: text/x-patch
Size: 698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150908/5e72234d/attachment.bin>
More information about the lldb-commits
mailing list