[Lldb-commits] [lldb] r346283 - Compiler warning pointed out a mistake - fix it.

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 6 16:25:02 PST 2018


Author: jmolenda
Date: Tue Nov  6 16:25:02 2018
New Revision: 346283

URL: http://llvm.org/viewvc/llvm-project?rev=346283&view=rev
Log:

Compiler warning pointed out a mistake - fix it.

Modified:
    lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp

Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp?rev=346283&r1=346282&r2=346283&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp Tue Nov  6 16:25:02 2018
@@ -93,7 +93,7 @@ PlatformSP PlatformMacOSX::CreateInstanc
 #if defined(__APPLE__)
     // Only accept "unknown" for vendor if the host is Apple and it "unknown"
     // wasn't specified (it was just returned because it was NOT specified)
-    case llvm::Triple::UnknownArch:
+    case llvm::Triple::UnknownVendor:
       create = !arch->TripleVendorWasSpecified();
       break;
 #endif




More information about the lldb-commits mailing list