[Lldb-commits] [lldb] r105718 - in /lldb/trunk/source: Symbol/LineTable.cpp Target/ObjCObjectPrinter.cpp Target/PathMappingList.cpp
Eli Friedman
eli.friedman at gmail.com
Wed Jun 9 02:32:42 PDT 2010
Author: efriedma
Date: Wed Jun 9 04:32:42 2010
New Revision: 105718
URL: http://llvm.org/viewvc/llvm-project?rev=105718&view=rev
Log:
Minor warning/error fixes.
Modified:
lldb/trunk/source/Symbol/LineTable.cpp
lldb/trunk/source/Target/ObjCObjectPrinter.cpp
lldb/trunk/source/Target/PathMappingList.cpp
Modified: lldb/trunk/source/Symbol/LineTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/LineTable.cpp?rev=105718&r1=105717&r2=105718&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/LineTable.cpp (original)
+++ lldb/trunk/source/Symbol/LineTable.cpp Wed Jun 9 04:32:42 2010
@@ -12,6 +12,7 @@
#include "lldb/Core/Stream.h"
#include "lldb/Symbol/CompileUnit.h"
#include "lldb/Symbol/LineTable.h"
+#include <algorithm>
using namespace lldb;
using namespace lldb_private;
@@ -133,13 +134,13 @@
LT_COMPARE (b.is_terminal_entry, a.is_terminal_entry);
LT_COMPARE (a.file_idx, b.file_idx);
return false;
- #undef LT_COMPARE;
+ #undef LT_COMPARE
}
const Section *a_section = m_line_table->GetSectionForEntryIndex (a.sect_idx);
const Section *b_section = m_line_table->GetSectionForEntryIndex (b.sect_idx);
return Section::Compare(*a_section, *b_section) < 0;
-};
+}
Section *
Modified: lldb/trunk/source/Target/ObjCObjectPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ObjCObjectPrinter.cpp?rev=105718&r1=105717&r2=105718&view=diff
==============================================================================
--- lldb/trunk/source/Target/ObjCObjectPrinter.cpp (original)
+++ lldb/trunk/source/Target/ObjCObjectPrinter.cpp Wed Jun 9 04:32:42 2010
@@ -17,7 +17,7 @@
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
-#include "ObjCObjectPrinter.h"
+#include "lldb/Target/ObjCObjectPrinter.h"
using namespace lldb;
using namespace lldb_private;
Modified: lldb/trunk/source/Target/PathMappingList.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/PathMappingList.cpp?rev=105718&r1=105717&r2=105718&view=diff
==============================================================================
--- lldb/trunk/source/Target/PathMappingList.cpp (original)
+++ lldb/trunk/source/Target/PathMappingList.cpp Wed Jun 9 04:32:42 2010
@@ -13,7 +13,8 @@
#include "lldb/Core/Error.h"
#include "lldb/Core/Stream.h"
// Project includes
-#include "PathMappingList.h"
+#include "lldb/Target/PathMappingList.h"
+#include <string.h>
using namespace lldb;
using namespace lldb_private;
More information about the lldb-commits
mailing list