[Lldb-commits] [lldb] r279354 - added Xcode lldb-gtest-for-debugging target
Todd Fiala via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 19 17:54:03 PDT 2016
Author: tfiala
Date: Fri Aug 19 19:54:03 2016
New Revision: 279354
URL: http://llvm.org/viewvc/llvm-project?rev=279354&view=rev
Log:
added Xcode lldb-gtest-for-debugging target
The lldb-gtest target is for CI and runs the tests as
part of the build phase. It does not support debugging
the gtests from Xcode, though, due to the run happening
during the build phase.
This change adds a lldb-gtest-for-debugging target that
can be used to debug gtests.
Modified:
lldb/trunk/lldb.xcodeproj/project.pbxproj
Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lldb.xcodeproj/project.pbxproj?rev=279354&r1=279353&r2=279354&view=diff
==============================================================================
--- lldb/trunk/lldb.xcodeproj/project.pbxproj (original)
+++ lldb/trunk/lldb.xcodeproj/project.pbxproj Fri Aug 19 19:54:03 2016
@@ -106,6 +106,33 @@
23CB14FF1D66CD2900EDDDE1 /* FileSpecTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CB14FD1D66CD2400EDDDE1 /* FileSpecTest.cpp */; };
23CB15001D66CD3900EDDDE1 /* CPlusPlusLanguageTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CB14FA1D66CCF100EDDDE1 /* CPlusPlusLanguageTest.cpp */; };
23CB150F1D66CF5D00EDDDE1 /* TestClangASTContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CB150C1D66CF5600EDDDE1 /* TestClangASTContext.cpp */; };
+ 23CB15331D66DA9300EDDDE1 /* GoParserTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AEC6FF9F1BE970A2007882C1 /* GoParserTest.cpp */; };
+ 23CB15341D66DA9300EDDDE1 /* CPlusPlusLanguageTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CB14FA1D66CCF100EDDDE1 /* CPlusPlusLanguageTest.cpp */; };
+ 23CB15351D66DA9300EDDDE1 /* UriParserTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2321F9461BDD346100BA9A93 /* UriParserTest.cpp */; };
+ 23CB15361D66DA9300EDDDE1 /* FileSpecTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CB14FD1D66CD2400EDDDE1 /* FileSpecTest.cpp */; };
+ 23CB15371D66DA9300EDDDE1 /* PythonTestSuite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF45E1FC1BF57C8D000563EB /* PythonTestSuite.cpp */; };
+ 23CB15381D66DA9300EDDDE1 /* PythonExceptionStateTests.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3FA093141BF65D3A0037DD08 /* PythonExceptionStateTests.cpp */; };
+ 23CB15391D66DA9300EDDDE1 /* DataExtractorTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CB14E81D66CC0E00EDDDE1 /* DataExtractorTest.cpp */; };
+ 23CB153A1D66DA9300EDDDE1 /* GDBRemoteClientBaseTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2370A37D1D66C587000E7BE6 /* GDBRemoteClientBaseTest.cpp */; };
+ 23CB153B1D66DA9300EDDDE1 /* SocketTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2321F93A1BDD332400BA9A93 /* SocketTest.cpp */; };
+ 23CB153C1D66DA9300EDDDE1 /* TestArgs.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2321F93E1BDD33CE00BA9A93 /* TestArgs.cpp */; };
+ 23CB153D1D66DA9300EDDDE1 /* GDBRemoteCommunicationClientTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2370A37E1D66C587000E7BE6 /* GDBRemoteCommunicationClientTest.cpp */; };
+ 23CB153E1D66DA9300EDDDE1 /* PythonDataObjectsTests.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2321F94D1BDD360F00BA9A93 /* PythonDataObjectsTests.cpp */; };
+ 23CB153F1D66DA9300EDDDE1 /* SymbolsTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2321F93B1BDD332400BA9A93 /* SymbolsTest.cpp */; };
+ 23CB15401D66DA9300EDDDE1 /* TestClangASTContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CB150C1D66CF5600EDDDE1 /* TestClangASTContext.cpp */; };
+ 23CB15411D66DA9300EDDDE1 /* StringExtractorTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2321F9441BDD346100BA9A93 /* StringExtractorTest.cpp */; };
+ 23CB15421D66DA9300EDDDE1 /* TaskPoolTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2321F9451BDD346100BA9A93 /* TaskPoolTest.cpp */; };
+ 23CB15431D66DA9300EDDDE1 /* BroadcasterTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CB14E61D66CC0E00EDDDE1 /* BroadcasterTest.cpp */; };
+ 23CB15441D66DA9300EDDDE1 /* ScalarTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 23CB14E91D66CC0E00EDDDE1 /* ScalarTest.cpp */; };
+ 23CB15451D66DA9300EDDDE1 /* SocketAddressTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2321F9391BDD332400BA9A93 /* SocketAddressTest.cpp */; };
+ 23CB15461D66DA9300EDDDE1 /* GDBRemoteTestUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2370A37F1D66C587000E7BE6 /* GDBRemoteTestUtils.cpp */; };
+ 23CB15471D66DA9300EDDDE1 /* EditlineTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2326CF511BDD693B00A5CEAC /* EditlineTest.cpp */; };
+ 23CB15491D66DA9300EDDDE1 /* libxml2.2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 23CB14E31D66CA2200EDDDE1 /* libxml2.2.dylib */; };
+ 23CB154A1D66DA9300EDDDE1 /* libpanel.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2326CF4E1BDD687800A5CEAC /* libpanel.dylib */; };
+ 23CB154B1D66DA9300EDDDE1 /* libedit.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2326CF4C1BDD684B00A5CEAC /* libedit.dylib */; };
+ 23CB154C1D66DA9300EDDDE1 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2326CF4A1BDD681800A5CEAC /* libz.dylib */; };
+ 23CB154D1D66DA9300EDDDE1 /* libncurses.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2326CF471BDD67C100A5CEAC /* libncurses.dylib */; };
+ 23CB154E1D66DA9300EDDDE1 /* liblldb-core.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2689FFCA13353D7A00698AC0 /* liblldb-core.a */; };
23D065881D4A7BDA0008EDE6 /* CMakeLists.txt in CopyFiles */ = {isa = PBXBuildFile; fileRef = 23D065811D4A7BDA0008EDE6 /* CMakeLists.txt */; };
23D0658A1D4A7BDA0008EDE6 /* RenderScriptExpressionOpts.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 23D065831D4A7BDA0008EDE6 /* RenderScriptExpressionOpts.h */; };
23D0658C1D4A7BDA0008EDE6 /* RenderScriptRuntime.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 23D065851D4A7BDA0008EDE6 /* RenderScriptRuntime.h */; };
@@ -1004,6 +1031,13 @@
remoteGlobalIDString = 2689FFC913353D7A00698AC0;
remoteInfo = "lldb-core";
};
+ 23CB15311D66DA9300EDDDE1 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 2689FFC913353D7A00698AC0;
+ remoteInfo = "lldb-core";
+ };
262CFC7111A450CB00946C6C /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 265E9BE1115C2BAA00D0DCCB /* debugserver.xcodeproj */;
@@ -1149,6 +1183,15 @@
);
runOnlyForDeploymentPostprocessing = 1;
};
+ 23CB154F1D66DA9300EDDDE1 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = /usr/share/man/man1/;
+ dstSubfolderSpec = 0;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
940B04E31A89875C0045D5F7 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
@@ -1315,6 +1358,7 @@
23CB15211D66CFAC00EDDDE1 /* test-pdb.exe */ = {isa = PBXFileReference; lastKnownFileType = file; path = "test-pdb.exe"; sourceTree = "<group>"; };
23CB15221D66CFAC00EDDDE1 /* test-pdb.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "test-pdb.h"; sourceTree = "<group>"; };
23CB15231D66CFAC00EDDDE1 /* test-pdb.pdb */ = {isa = PBXFileReference; lastKnownFileType = file; path = "test-pdb.pdb"; sourceTree = "<group>"; };
+ 23CB15561D66DA9300EDDDE1 /* lldb-gtest-for-debugging */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "lldb-gtest-for-debugging"; sourceTree = BUILT_PRODUCTS_DIR; };
23D065811D4A7BDA0008EDE6 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = "<group>"; };
23D065821D4A7BDA0008EDE6 /* RenderScriptExpressionOpts.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderScriptExpressionOpts.cpp; sourceTree = "<group>"; };
23D065831D4A7BDA0008EDE6 /* RenderScriptExpressionOpts.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderScriptExpressionOpts.h; sourceTree = "<group>"; };
@@ -3053,6 +3097,19 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ 23CB15481D66DA9300EDDDE1 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 23CB15491D66DA9300EDDDE1 /* libxml2.2.dylib in Frameworks */,
+ 23CB154A1D66DA9300EDDDE1 /* libpanel.dylib in Frameworks */,
+ 23CB154B1D66DA9300EDDDE1 /* libedit.dylib in Frameworks */,
+ 23CB154C1D66DA9300EDDDE1 /* libz.dylib in Frameworks */,
+ 23CB154D1D66DA9300EDDDE1 /* libncurses.dylib in Frameworks */,
+ 23CB154E1D66DA9300EDDDE1 /* liblldb-core.a in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
26579F66126A25920007C5CB /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
@@ -3189,6 +3246,7 @@
2690CD171A6DC0D000E717C8 /* lldb-mi */,
942829C01A89835300521B30 /* lldb-argdumper */,
239504D41BDD451400963CEA /* lldb-gtest */,
+ 23CB15561D66DA9300EDDDE1 /* lldb-gtest-for-debugging */,
);
name = Products;
sourceTree = "<group>";
@@ -6420,6 +6478,24 @@
productReference = 239504D41BDD451400963CEA /* lldb-gtest */;
productType = "com.apple.product-type.tool";
};
+ 23CB152F1D66DA9300EDDDE1 /* lldb-gtest-for-debugging */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 23CB15511D66DA9300EDDDE1 /* Build configuration list for PBXNativeTarget "lldb-gtest-for-debugging" */;
+ buildPhases = (
+ 23CB15321D66DA9300EDDDE1 /* Sources */,
+ 23CB15481D66DA9300EDDDE1 /* Frameworks */,
+ 23CB154F1D66DA9300EDDDE1 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 23CB15301D66DA9300EDDDE1 /* PBXTargetDependency */,
+ );
+ name = "lldb-gtest-for-debugging";
+ productName = "lldb-gtest";
+ productReference = 23CB15561D66DA9300EDDDE1 /* lldb-gtest-for-debugging */;
+ productType = "com.apple.product-type.tool";
+ };
26579F67126A25920007C5CB /* darwin-debug */ = {
isa = PBXNativeTarget;
buildConfigurationList = 26579F6D126A25BF0007C5CB /* Build configuration list for PBXNativeTarget "darwin-debug" */;
@@ -6599,6 +6675,7 @@
26F5C26910F3D9A4009D5894 /* lldb-tool */,
26680206115FD0ED008E1FE4 /* LLDB */,
239504D31BDD451400963CEA /* lldb-gtest */,
+ 23CB152F1D66DA9300EDDDE1 /* lldb-gtest-for-debugging */,
2387551E1C24974600CCE8C3 /* lldb-python-test-suite */,
26579F67126A25920007C5CB /* darwin-debug */,
2689FFC913353D7A00698AC0 /* lldb-core */,
@@ -6807,6 +6884,34 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
+ 23CB15321D66DA9300EDDDE1 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 23CB15331D66DA9300EDDDE1 /* GoParserTest.cpp in Sources */,
+ 23CB15341D66DA9300EDDDE1 /* CPlusPlusLanguageTest.cpp in Sources */,
+ 23CB15351D66DA9300EDDDE1 /* UriParserTest.cpp in Sources */,
+ 23CB15361D66DA9300EDDDE1 /* FileSpecTest.cpp in Sources */,
+ 23CB15371D66DA9300EDDDE1 /* PythonTestSuite.cpp in Sources */,
+ 23CB15381D66DA9300EDDDE1 /* PythonExceptionStateTests.cpp in Sources */,
+ 23CB15391D66DA9300EDDDE1 /* DataExtractorTest.cpp in Sources */,
+ 23CB153A1D66DA9300EDDDE1 /* GDBRemoteClientBaseTest.cpp in Sources */,
+ 23CB153B1D66DA9300EDDDE1 /* SocketTest.cpp in Sources */,
+ 23CB153C1D66DA9300EDDDE1 /* TestArgs.cpp in Sources */,
+ 23CB153D1D66DA9300EDDDE1 /* GDBRemoteCommunicationClientTest.cpp in Sources */,
+ 23CB153E1D66DA9300EDDDE1 /* PythonDataObjectsTests.cpp in Sources */,
+ 23CB153F1D66DA9300EDDDE1 /* SymbolsTest.cpp in Sources */,
+ 23CB15401D66DA9300EDDDE1 /* TestClangASTContext.cpp in Sources */,
+ 23CB15411D66DA9300EDDDE1 /* StringExtractorTest.cpp in Sources */,
+ 23CB15421D66DA9300EDDDE1 /* TaskPoolTest.cpp in Sources */,
+ 23CB15431D66DA9300EDDDE1 /* BroadcasterTest.cpp in Sources */,
+ 23CB15441D66DA9300EDDDE1 /* ScalarTest.cpp in Sources */,
+ 23CB15451D66DA9300EDDDE1 /* SocketAddressTest.cpp in Sources */,
+ 23CB15461D66DA9300EDDDE1 /* GDBRemoteTestUtils.cpp in Sources */,
+ 23CB15471D66DA9300EDDDE1 /* EditlineTest.cpp in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
26579F65126A25920007C5CB /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@@ -7628,6 +7733,11 @@
target = 2689FFC913353D7A00698AC0 /* lldb-core */;
targetProxy = 23AB8B6A1BDF513B008BF3B0 /* PBXContainerItemProxy */;
};
+ 23CB15301D66DA9300EDDDE1 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 2689FFC913353D7A00698AC0 /* lldb-core */;
+ targetProxy = 23CB15311D66DA9300EDDDE1 /* PBXContainerItemProxy */;
+ };
262CFC7211A450CB00946C6C /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = debugserver;
@@ -8182,6 +8292,174 @@
};
name = BuildAndIntegration;
};
+ 23CB15521D66DA9300EDDDE1 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\"",
+ "$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks",
+ );
+ HEADER_SEARCH_PATHS = (
+ "$(LLVM_SOURCE_DIR)/tools/clang/include",
+ "$(LLVM_BUILD_DIR)/$(LLVM_BUILD_DIR_ARCH)/tools/clang/include",
+ );
+ LLDB_GTESTS_CFLAGS = "-I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
+ LLDB_GTESTS_LDFLAGS = "$(LLVM_BUILD_DIR)/x86_64/lib/libgtest.a -L $(PYTHON_FRAMEWORK_PATH)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib -l python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)";
+ OTHER_CFLAGS = (
+ "-fno-rtti",
+ "-Wparentheses",
+ "$(LLDB_ZLIB_CFLAGS)",
+ "$(LLDB_COMPRESSION_CFLAGS)",
+ "$(LLDB_GTESTS_CFLAGS)",
+ "-DGTEST_HAS_RTTI=0",
+ );
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ "-filelist",
+ "$(LLVM_BUILD_DIR)/archives.txt",
+ "-framework",
+ Foundation,
+ "-framework",
+ DebugSymbols,
+ "-framework",
+ Security,
+ "-framework",
+ CoreServices,
+ "-framework",
+ ApplicationServices,
+ "$(LLDB_GTESTS_LDFLAGS)",
+ );
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 23CB15531D66DA9300EDDDE1 /* DebugClang */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\"",
+ "$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks",
+ );
+ HEADER_SEARCH_PATHS = (
+ "$(LLVM_SOURCE_DIR)/tools/clang/include",
+ "$(LLVM_BUILD_DIR)/$(LLVM_BUILD_DIR_ARCH)/tools/clang/include",
+ );
+ LLDB_GTESTS_CFLAGS = "-I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
+ LLDB_GTESTS_LDFLAGS = "$(LLVM_BUILD_DIR)/x86_64/lib/libgtest.a -L $(PYTHON_FRAMEWORK_PATH)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib -l python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)";
+ OTHER_CFLAGS = (
+ "-fno-rtti",
+ "-Wparentheses",
+ "$(LLDB_ZLIB_CFLAGS)",
+ "$(LLDB_COMPRESSION_CFLAGS)",
+ "$(LLDB_GTESTS_CFLAGS)",
+ "-DGTEST_HAS_RTTI=0",
+ );
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ "-filelist",
+ "$(LLVM_BUILD_DIR)/archives.txt",
+ "-framework",
+ Foundation,
+ "-framework",
+ DebugSymbols,
+ "-framework",
+ Security,
+ "-framework",
+ CoreServices,
+ "-framework",
+ ApplicationServices,
+ "$(LLDB_GTESTS_LDFLAGS)",
+ );
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = DebugClang;
+ };
+ 23CB15541D66DA9300EDDDE1 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\"",
+ "$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks",
+ );
+ HEADER_SEARCH_PATHS = (
+ "$(LLVM_SOURCE_DIR)/tools/clang/include",
+ "$(LLVM_BUILD_DIR)/$(LLVM_BUILD_DIR_ARCH)/tools/clang/include",
+ );
+ LLDB_GTESTS_CFLAGS = "-I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
+ LLDB_GTESTS_LDFLAGS = "$(LLVM_BUILD_DIR)/x86_64/lib/libgtest.a -L $(PYTHON_FRAMEWORK_PATH)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib -l python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)";
+ OTHER_CFLAGS = (
+ "-fno-rtti",
+ "-Wparentheses",
+ "$(LLDB_ZLIB_CFLAGS)",
+ "$(LLDB_COMPRESSION_CFLAGS)",
+ "$(LLDB_GTESTS_CFLAGS)",
+ "-DGTEST_HAS_RTTI=0",
+ );
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ "-filelist",
+ "$(LLVM_BUILD_DIR)/archives.txt",
+ "-framework",
+ Foundation,
+ "-framework",
+ DebugSymbols,
+ "-framework",
+ Security,
+ "-framework",
+ CoreServices,
+ "-framework",
+ ApplicationServices,
+ "$(LLDB_GTESTS_LDFLAGS)",
+ );
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+ 23CB15551D66DA9300EDDDE1 /* BuildAndIntegration */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\"",
+ "$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks",
+ );
+ HEADER_SEARCH_PATHS = (
+ "$(LLVM_SOURCE_DIR)/tools/clang/include",
+ "$(LLVM_BUILD_DIR)/$(LLVM_BUILD_DIR_ARCH)/tools/clang/include",
+ );
+ LLDB_GTESTS_CFLAGS = "-I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
+ LLDB_GTESTS_LDFLAGS = "$(LLVM_BUILD_DIR)/x86_64/lib/libgtest.a -L $(PYTHON_FRAMEWORK_PATH)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib -l python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)";
+ OTHER_CFLAGS = (
+ "-fno-rtti",
+ "-Wparentheses",
+ "$(LLDB_ZLIB_CFLAGS)",
+ "$(LLDB_COMPRESSION_CFLAGS)",
+ "$(LLDB_GTESTS_CFLAGS)",
+ "-DGTEST_HAS_RTTI=0",
+ );
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ "-filelist",
+ "$(LLVM_BUILD_DIR)/archives.txt",
+ "-framework",
+ Foundation,
+ "-framework",
+ DebugSymbols,
+ "-framework",
+ Security,
+ "-framework",
+ CoreServices,
+ "-framework",
+ ApplicationServices,
+ "$(LLDB_GTESTS_LDFLAGS)",
+ );
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = BuildAndIntegration;
+ };
26579F6A126A25920007C5CB /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@@ -9950,6 +10228,17 @@
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = BuildAndIntegration;
+ };
+ 23CB15511D66DA9300EDDDE1 /* Build configuration list for PBXNativeTarget "lldb-gtest-for-debugging" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 23CB15521D66DA9300EDDDE1 /* Debug */,
+ 23CB15531D66DA9300EDDDE1 /* DebugClang */,
+ 23CB15541D66DA9300EDDDE1 /* Release */,
+ 23CB15551D66DA9300EDDDE1 /* BuildAndIntegration */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = BuildAndIntegration;
};
26579F6D126A25BF0007C5CB /* Build configuration list for PBXNativeTarget "darwin-debug" */ = {
isa = XCConfigurationList;
More information about the lldb-commits
mailing list