[Lldb-commits] [lldb] r226886 - Remove the "/" from the end of rpath paths. Having it there causes the

Jim Ingham jingham at apple.com
Thu Jan 22 16:39:13 PST 2015


Author: jingham
Date: Thu Jan 22 18:39:13 2015
New Revision: 226886

URL: http://llvm.org/viewvc/llvm-project?rev=226886&view=rev
Log:
Remove the "/" from the end of rpath paths.  Having it there causes the
paths we get from dladdr to have "//" in it internally, and while that is
formally correct it is just asking for somebody to misparse it... 

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=226886&r1=226885&r2=226886&view=diff
==============================================================================
--- lldb/trunk/lldb.xcodeproj/project.pbxproj (original)
+++ lldb/trunk/lldb.xcodeproj/project.pbxproj Thu Jan 22 18:39:13 2015
@@ -6899,7 +6899,7 @@
 					__TEXT,
 					__info_plist,
 					"$(PROJECT_DIR)/tools/driver/lldb-Info.plist",
-					"-Wl,-rpath, at loader_path/../../Library/PrivateFrameworks/",
+					"-Wl,-rpath, at loader_path/../../Library/PrivateFrameworks",
 					"-Wl,-rpath, at loader_path/../../../SharedFrameworks",
 					"-Wl,-rpath, at loader_path/../../System/Library/PrivateFrameworks",
 					"-Wl,-rpath, at loader_path/../../Library/PrivateFrameworks",
@@ -7723,7 +7723,7 @@
 					__TEXT,
 					__info_plist,
 					"$(PROJECT_DIR)/tools/driver/lldb-Info.plist",
-					"-Wl,-rpath, at loader_path/",
+					"-Wl,-rpath, at loader_path",
 				);
 				PRODUCT_NAME = lldb;
 				USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/include $(SRCROOT)/source";
@@ -7751,7 +7751,7 @@
 					__TEXT,
 					__info_plist,
 					"$(PROJECT_DIR)/tools/driver/lldb-Info.plist",
-					"-Wl,-rpath, at loader_path/",
+					"-Wl,-rpath, at loader_path",
 				);
 				PRODUCT_NAME = lldb;
 				USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/include $(SRCROOT)/source";
@@ -7883,7 +7883,7 @@
 					__TEXT,
 					__info_plist,
 					"$(PROJECT_DIR)/tools/driver/lldb-Info.plist",
-					"-Wl,-rpath, at loader_path/",
+					"-Wl,-rpath, at loader_path",
 				);
 				PRODUCT_NAME = lldb;
 				USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/include $(SRCROOT)/source";





More information about the lldb-commits mailing list