[Lldb-commits] [lldb] [lldb] Additional pieces towards OpenBSD support (PR #74198)

Ed Maste via lldb-commits lldb-commits at lists.llvm.org
Sat Dec 2 08:36:52 PST 2023


================
@@ -1245,9 +1245,10 @@ bool FormatEntity::Format(const Entry &entry, Stream &s,
             llvm::Triple::OSType ostype = arch.IsValid()
                                               ? arch.GetTriple().getOS()
                                               : llvm::Triple::UnknownOS;
-            if ((ostype == llvm::Triple::FreeBSD) ||
-                (ostype == llvm::Triple::Linux) ||
-                (ostype == llvm::Triple::NetBSD)) {
+            if (ostype == llvm::Triple::Linux ||
----------------
emaste wrote:

OSes were in alpha order before -- it doesn't matter too much but both consistency across the code base and avoiding churn are good goals. Is the order is generally Linux then BSDs in alpha order across the tree?

https://github.com/llvm/llvm-project/pull/74198


More information about the lldb-commits mailing list