[Lldb-commits] [lldb] r332877 - Enable Python API for OpenBSD.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Mon May 21 12:47:45 PDT 2018


Author: zturner
Date: Mon May 21 12:47:45 2018
New Revision: 332877

URL: http://llvm.org/viewvc/llvm-project?rev=332877&view=rev
Log:
Enable Python API for OpenBSD.

Patch by David Carlier

Modified:
    lldb/trunk/scripts/utilsOsType.py

Modified: lldb/trunk/scripts/utilsOsType.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/utilsOsType.py?rev=332877&r1=332876&r2=332877&view=diff
==============================================================================
--- lldb/trunk/scripts/utilsOsType.py (original)
+++ lldb/trunk/scripts/utilsOsType.py Mon May 21 12:47:45 2018
@@ -44,6 +44,7 @@ else:
                   "FreeBSD",
                   "Linux",
                   "NetBSD",
+                  "OpenBSD",
                   "Windows",
                   "kFreeBSD"]
 
@@ -91,6 +92,8 @@ def determine_os_type():
         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"):




More information about the lldb-commits mailing list