[Lldb-commits] [lldb] r164322 - /lldb/trunk/test/make/Makefile.rules

Greg Clayton gclayton at apple.com
Thu Sep 20 14:43:11 PDT 2012


Author: gclayton
Date: Thu Sep 20 16:43:11 2012
New Revision: 164322

URL: http://llvm.org/viewvc/llvm-project?rev=164322&view=rev
Log:
Compile shared libraries with dSYM files when requested on darwin. Prior to this, we never had dSYM files for shared libraries unless it was a dylib only Makefile.


Modified:
    lldb/trunk/test/make/Makefile.rules

Modified: lldb/trunk/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/make/Makefile.rules?rev=164322&r1=164321&r2=164322&view=diff
==============================================================================
--- lldb/trunk/test/make/Makefile.rules (original)
+++ lldb/trunk/test/make/Makefile.rules Thu Sep 20 16:43:11 2012
@@ -230,6 +230,11 @@
 $(DYLIB_FILENAME) : $(DYLIB_OBJECTS)
 ifeq "$(OS)" "Darwin"
 	$(LD) $(LDFLAGS) $(DYLIB_OBJECTS) -install_name "@executable_path/$(DYLIB_FILENAME)" -dynamiclib -o "$(DYLIB_FILENAME)"
+ifneq "$(MAKE_DSYM)" "NO"
+ifneq "$(DS)" ""
+	$(DS) $(DSFLAGS) "$(DYLIB_FILENAME)"
+endif
+endif
 else
 	$(LD) $(LDFLAGS) $(DYLIB_OBJECTS) -shared -o "$(DYLIB_FILENAME)"
 endif





More information about the lldb-commits mailing list