summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-09-09 10:20:30 +0000
committerTamas Berghammer <tberghammer@google.com>2015-09-09 10:20:30 +0000
commit1535bebac6ac1a13c34c12b6df9e68e43f737319 (patch)
tree9cea3f3cae3102494b6d2e7ce78834992e3e660f
parenta73239f860d90d63da66ed235207fb748d6629de (diff)
downloadbcm5719-llvm-1535bebac6ac1a13c34c12b6df9e68e43f737319.tar.gz
bcm5719-llvm-1535bebac6ac1a13c34c12b6df9e68e43f737319.zip
Remove the dwo files in the cleanup stage of the tests
The dwo files are generated when the tests run with split dwarf info. llvm-svn: 247130
-rw-r--r--lldb/test/make/Makefile.rules6
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/test/make/Makefile.rules b/lldb/test/make/Makefile.rules
index d7855021aaa..a73ab3f3e0f 100644
--- a/lldb/test/make/Makefile.rules
+++ b/lldb/test/make/Makefile.rules
@@ -474,8 +474,10 @@ endif
# files by replacing all .c files with .d.
#----------------------------------------------------------------------
PREREQS := $(OBJECTS:.o=.d)
+DWOS := $(OBJECTS:.o=.dwo)
ifneq "$(DYLIB_NAME)" ""
DYLIB_PREREQS := $(DYLIB_OBJECTS:.o=.d)
+ DYLIB_DWOS := $(DYLIB_OBJECTS:.o=.dwo)
endif
#----------------------------------------------------------------------
@@ -533,10 +535,10 @@ endif
dsym: $(DSYM)
all: $(EXE) $(DSYM)
clean::
- $(RM) $(OBJECTS) $(PREREQS) $(PREREQS:.d=.d.tmp) $(ARCHIVE_NAME) $(ARCHIVE_OBJECTS)
+ $(RM) $(OBJECTS) $(PREREQS) $(PREREQS:.d=.d.tmp) $(DWOS) $(ARCHIVE_NAME) $(ARCHIVE_OBJECTS)
ifneq "$(DYLIB_NAME)" ""
$(RM) -r $(DYLIB_FILENAME).dSYM
- $(RM) $(DYLIB_OBJECTS) $(DYLIB_PREREQS) $(DYLIB_PREREQS:.d=.d.tmp) $(DYLIB_FILENAME) $(DYLIB_FILENAME).debug
+ $(RM) $(DYLIB_OBJECTS) $(DYLIB_PREREQS) $(DYLIB_PREREQS:.d=.d.tmp) $(DYLIB_DWOS) $(DYLIB_FILENAME) $(DYLIB_FILENAME).debug
endif
ifneq "$(DSYM)" ""
$(RM) -r "$(DSYM)"
OpenPOWER on IntegriCloud