[Lldb-commits] [lldb] r338458 - Use UnknownVendor rather than UnknownArch since they're in two different enums

Eric Christopher via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 31 16:53:23 PDT 2018


Author: echristo
Date: Tue Jul 31 16:53:23 2018
New Revision: 338458

URL: http://llvm.org/viewvc/llvm-project?rev=338458&view=rev
Log:
Use UnknownVendor rather than UnknownArch since they're in two different enums
and we're switching on vendor and not arch.

Modified:
    lldb/trunk/source/Plugins/Platform/Windows/PlatformWindows.cpp

Modified: lldb/trunk/source/Plugins/Platform/Windows/PlatformWindows.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Windows/PlatformWindows.cpp?rev=338458&r1=338457&r2=338458&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/Windows/PlatformWindows.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/Windows/PlatformWindows.cpp Tue Jul 31 16:53:23 2018
@@ -78,7 +78,7 @@ PlatformSP PlatformWindows::CreateInstan
       create = true;
       break;
 
-    case llvm::Triple::UnknownArch:
+    case llvm::Triple::UnknownVendor:
       create = !arch->TripleVendorWasSpecified();
       break;
 




More information about the lldb-commits mailing list