summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-12-16 16:48:19 +0000
committerZachary Turner <zturner@google.com>2014-12-16 16:48:19 +0000
commit3e9ca3a62507b598e42fcab6f0c5fa11852c6786 (patch)
treef65c9a0223f60bea9d82a78abecbd561a5ea96f1
parente46d54f0bf9fa30560d05f0b19a92e6f5281fede (diff)
downloadbcm5719-llvm-3e9ca3a62507b598e42fcab6f0c5fa11852c6786.tar.gz
bcm5719-llvm-3e9ca3a62507b598e42fcab6f0c5fa11852c6786.zip
Delete MSVC intermediate files on "make clean" from tests.
lld-link shells out to MSVC for certain types of work, and this results in some MSVC output files being generated even though clang / lld are the compiler / linker. This is expected, so we make sure to clean these output files on make clean. llvm-svn: 224345
-rw-r--r--lldb/test/make/Makefile.rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/test/make/Makefile.rules b/lldb/test/make/Makefile.rules
index aff31600533..691503053b8 100644
--- a/lldb/test/make/Makefile.rules
+++ b/lldb/test/make/Makefile.rules
@@ -449,7 +449,9 @@ endif
ifneq "$(DSYM)" ""
$(RM) -r "$(DSYM)"
endif
-
+ifeq "$(OS)" "Windows_NT"
+ $(RM) "$(EXE).manifest" $(wildcard *.pdb *.ilk)
+endif
#----------------------------------------------------------------------
# From http://blog.melski.net/tag/debugging-makefiles/
OpenPOWER on IntegriCloud