Clean up more .dwo files after the tests run
authorPavel Labath <labath@google.com>
Wed, 21 Oct 2015 12:56:37 +0000 (12:56 +0000)
committerPavel Labath <labath@google.com>
Wed, 21 Oct 2015 12:56:37 +0000 (12:56 +0000)
llvm-svn: 250896

lldb/test/lang/cpp/incomplete-types/Makefile
lldb/test/make/Makefile.rules
lldb/test/types/AbstractBase.py
lldb/test/types/TestRecursiveTypes.py

index 409669d..6595e33 100644 (file)
@@ -30,6 +30,6 @@ length_nolimit.o: length.cpp
 a.o: a.cpp
        $(CXX) $(CFLAGS_NO_DEBUG) -c a.cpp -o a.o
 
-clean: OBJECTS += limit nolimit length_limit.o length_nolimit.o
+clean: OBJECTS += limit nolimit length_limit.o length_nolimit.o length_limit.dwo length_nolimit.dwo
 
 include $(LEVEL)/Makefile.rules
index 8a433a8..796a7a0 100644 (file)
@@ -489,7 +489,7 @@ endif
 # files by replacing all .c files with .d.
 #----------------------------------------------------------------------
 PREREQS := $(OBJECTS:.o=.d)
-DWOS := $(OBJECTS:.o=.dwo)
+DWOS := $(OBJECTS:.o=.dwo) $(ARCHIVE_OBJECTS:.o=.dwo)
 ifneq "$(DYLIB_NAME)" ""
        DYLIB_PREREQS := $(DYLIB_OBJECTS:.o=.d)
        DYLIB_DWOS := $(DYLIB_OBJECTS:.o=.dwo)
index 5b1d9b8..a4dc1a8 100644 (file)
@@ -46,9 +46,6 @@ class GenericTester(TestBase):
     # functions.  There are also three optional keyword arguments of interest, #
     # as follows:                                                              #
     #                                                                          #
-    # dsym -> build for dSYM (defaulted to True)                               #
-    #         True: build dSYM file                                            #
-    #         False: build DWARF map                                           #
     # bc -> blockCaptured (defaulted to False)                                 #
     #         True: testing vars of various basic types from inside a block    #
     #         False: testing vars of various basic types from a function       #
index 97795a8..5ded66d 100644 (file)
@@ -33,7 +33,7 @@ class RecursiveTypesTestCase(TestBase):
 
     def test_recursive_type_2(self):
         """Test that recursive structs are displayed correctly."""
-        self.build(dictionary=self.d1)
+        self.build(dictionary=self.d2)
         self.setTearDownCleanup(dictionary=self.d2)
         self.print_struct()