[Lldb-commits] [lldb] r215304 - Windows: update for LLVM API change

Saleem Abdulrasool compnerd at compnerd.org
Sat Aug 9 16:12:28 PDT 2014


Author: compnerd
Date: Sat Aug  9 18:12:28 2014
New Revision: 215304

URL: http://llvm.org/viewvc/llvm-project?rev=215304&view=rev
Log:
Windows: update for LLVM API change

MinGW32 and Cygwin have been removed from the OSType enumeration.  They are
represented as environments, and the OS is Windows in both of those cases.
Simply remove the value from the switch.

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=215304&r1=215303&r2=215304&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/Windows/PlatformWindows.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/Windows/PlatformWindows.cpp Sat Aug  9 18:12:28 2014
@@ -96,7 +96,6 @@ PlatformWindows::CreateInstance (bool fo
             switch (triple.getOS())
             {
             case llvm::Triple::Win32:
-            case llvm::Triple::MinGW32:
                 break;
 
             case llvm::Triple::UnknownOS:





More information about the lldb-commits mailing list