[PATCH] D46225: LLDB - Enable Python API for OpenBSD
David CARLIER via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 28 08:02:32 PDT 2018
devnexen created this revision.
devnexen added reviewers: mgorny, brucem.
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D46225
Files:
scripts/utilsOsType.py
Index: scripts/utilsOsType.py
===================================================================
--- scripts/utilsOsType.py
+++ scripts/utilsOsType.py
@@ -44,6 +44,7 @@
"FreeBSD",
"Linux",
"NetBSD",
+ "OpenBSD",
"Windows",
"kFreeBSD"]
@@ -91,6 +92,8 @@
eOSType = EnumOsType.Linux
elif strOS.startswith("netbsd"):
eOSType = EnumOsType.NetBSD
+ elif strOS.startswith("openbsd"):
+ eOSType = EnumOsType.OpenBSD
elif strOS == "win32":
eOSType = EnumOsType.Windows
elif strOS.startswith("gnukfreebsd"):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46225.144447.patch
Type: text/x-patch
Size: 665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180428/b24d4f83/attachment.bin>
More information about the llvm-commits
mailing list