[Lldb-commits] [lldb] r217624 - Fix Windows build.

Zachary Turner zturner at google.com
Thu Sep 11 13:26:49 PDT 2014


Author: zturner
Date: Thu Sep 11 15:26:49 2014
New Revision: 217624

URL: http://llvm.org/viewvc/llvm-project?rev=217624&view=rev
Log:
Fix Windows build.

* ssize_t isn't defined by default on Windows.
* New public API files need to be defined in a different file for
  Windows.

Modified:
    lldb/trunk/source/CMakeLists.txt
    lldb/trunk/tools/driver/Driver.cpp

Modified: lldb/trunk/source/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/CMakeLists.txt?rev=217624&r1=217623&r2=217624&view=diff
==============================================================================
--- lldb/trunk/source/CMakeLists.txt (original)
+++ lldb/trunk/source/CMakeLists.txt Thu Sep 11 15:26:49 2014
@@ -259,6 +259,7 @@ add_lldb_library(liblldb
   API/SBSymbolContextList.cpp
   API/SBTarget.cpp
   API/SBThread.cpp
+  API/SBThreadCollection.cpp
   API/SBType.cpp
   API/SBTypeCategory.cpp
   API/SBTypeEnumMember.cpp

Modified: lldb/trunk/tools/driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/driver/Driver.cpp?rev=217624&r1=217623&r2=217624&view=diff
==============================================================================
--- lldb/trunk/tools/driver/Driver.cpp (original)
+++ lldb/trunk/tools/driver/Driver.cpp Thu Sep 11 15:26:49 2014
@@ -39,6 +39,8 @@
 #include "lldb/API/SBThread.h"
 #include "lldb/API/SBProcess.h"
 
+#include "llvm/Support/DataTypes.h"
+
 using namespace lldb;
 
 static void reset_stdin_termios ();





More information about the lldb-commits mailing list