summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-06-14 04:30:13 +0000
committerGreg Clayton <gclayton@apple.com>2010-06-14 04:30:13 +0000
commit7a47bd9f022a6fbd9f7aa5cfee5e19bbb783d7f7 (patch)
tree54a513865b8ab2abddb08185a217d1dcc56839ea
parent13238c44551672020fde62c6e9784d39fb15c4b0 (diff)
downloadbcm5719-llvm-7a47bd9f022a6fbd9f7aa5cfee5e19bbb783d7f7.tar.gz
bcm5719-llvm-7a47bd9f022a6fbd9f7aa5cfee5e19bbb783d7f7.zip
Move posix specific files into posix subdirectory so they can
be shared with linux. Updated Xcode project. llvm-svn: 105928
-rw-r--r--lldb/lldb.xcodeproj/project.pbxproj16
-rw-r--r--lldb/source/Host/posix/Condition.cpp (renamed from lldb/source/Host/macosx/Condition.cpp)0
-rw-r--r--lldb/source/Host/posix/Mutex.cpp (renamed from lldb/source/Host/macosx/Mutex.cpp)6
3 files changed, 16 insertions, 6 deletions
diff --git a/lldb/lldb.xcodeproj/project.pbxproj b/lldb/lldb.xcodeproj/project.pbxproj
index 84649183c1a..1c13dddd9c6 100644
--- a/lldb/lldb.xcodeproj/project.pbxproj
+++ b/lldb/lldb.xcodeproj/project.pbxproj
@@ -794,9 +794,9 @@
26BC7ED610F1B86700F91463 /* ClangExpressionVariable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ClangExpressionVariable.cpp; path = source/Expression/ClangExpressionVariable.cpp; sourceTree = "<group>"; };
26BC7ED710F1B86700F91463 /* ClangStmtVisitor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ClangStmtVisitor.cpp; path = source/Expression/ClangStmtVisitor.cpp; sourceTree = "<group>"; };
26BC7ED810F1B86700F91463 /* DWARFExpression.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DWARFExpression.cpp; path = source/Expression/DWARFExpression.cpp; sourceTree = "<group>"; };
- 26BC7EE710F1B88F00F91463 /* Condition.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Condition.cpp; path = source/Host/macosx/Condition.cpp; sourceTree = "<group>"; };
+ 26BC7EE710F1B88F00F91463 /* Condition.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Condition.cpp; path = source/Host/posix/Condition.cpp; sourceTree = "<group>"; };
26BC7EE810F1B88F00F91463 /* Host.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = Host.mm; path = source/Host/macosx/Host.mm; sourceTree = "<group>"; };
- 26BC7EE910F1B88F00F91463 /* Mutex.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Mutex.cpp; path = source/Host/macosx/Mutex.cpp; sourceTree = "<group>"; };
+ 26BC7EE910F1B88F00F91463 /* Mutex.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Mutex.cpp; path = source/Host/posix/Mutex.cpp; sourceTree = "<group>"; };
26BC7EED10F1B8AD00F91463 /* CFCBundle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CFCBundle.cpp; path = source/Host/macosx/cfcpp/CFCBundle.cpp; sourceTree = "<group>"; };
26BC7EEE10F1B8AD00F91463 /* CFCBundle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CFCBundle.h; path = source/Host/macosx/cfcpp/CFCBundle.h; sourceTree = "<group>"; };
26BC7EEF10F1B8AD00F91463 /* CFCData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CFCData.cpp; path = source/Host/macosx/cfcpp/CFCData.cpp; sourceTree = "<group>"; };
@@ -1860,6 +1860,7 @@
isa = PBXGroup;
children = (
26BC7EE510F1B88100F91463 /* MacOSX */,
+ 26F62BB211C5E6C300358180 /* posix */,
26BC7DD210F1B7D500F91463 /* Condition.h */,
26BC7DD310F1B7D500F91463 /* Endian.h */,
26BC7DD410F1B7D500F91463 /* Host.h */,
@@ -1985,9 +1986,7 @@
26BC7EF710F1B8AD00F91463 /* CFCReleaser.h */,
26BC7EF810F1B8AD00F91463 /* CFCString.cpp */,
26BC7EF910F1B8AD00F91463 /* CFCString.h */,
- 26BC7EE710F1B88F00F91463 /* Condition.cpp */,
26BC7EE810F1B88F00F91463 /* Host.mm */,
- 26BC7EE910F1B88F00F91463 /* Mutex.cpp */,
2689B0B5113EE47E00A4AEDB /* Symbols.cpp */,
26B4E28B112F5DCD00AB3F64 /* TimeValue.cpp */,
);
@@ -2039,6 +2038,15 @@
sourceTree = "<group>";
usesTabs = 0;
};
+ 26F62BB211C5E6C300358180 /* posix */ = {
+ isa = PBXGroup;
+ children = (
+ 26BC7EE710F1B88F00F91463 /* Condition.cpp */,
+ 26BC7EE910F1B88F00F91463 /* Mutex.cpp */,
+ );
+ name = posix;
+ sourceTree = "<group>";
+ };
493C63D711891A8000914D5E /* ABI */ = {
isa = PBXGroup;
children = (
diff --git a/lldb/source/Host/macosx/Condition.cpp b/lldb/source/Host/posix/Condition.cpp
index 4e93db766db..4e93db766db 100644
--- a/lldb/source/Host/macosx/Condition.cpp
+++ b/lldb/source/Host/posix/Condition.cpp
diff --git a/lldb/source/Host/macosx/Mutex.cpp b/lldb/source/Host/posix/Mutex.cpp
index ab0b67aa051..3f1c8306699 100644
--- a/lldb/source/Host/macosx/Mutex.cpp
+++ b/lldb/source/Host/posix/Mutex.cpp
@@ -8,10 +8,12 @@
//===----------------------------------------------------------------------===//
#include "lldb/Host/Mutex.h"
-#include "lldb/Core/Log.h"
#if 0
-#include "lldb/Host/Host.h"
+// This logging is way too verbose to enable even for a log channel.
+// This logging can be enabled by changing the "#if 0", but should be
+// reverted prior to checking in.
+#include <cstdio>
#define DEBUG_LOG(fmt, ...) printf(fmt, ## __VA_ARGS__)
#else
#define DEBUG_LOG(fmt, ...)
OpenPOWER on IntegriCloud