[Lldb-commits] [lldb] r224345 - Delete MSVC intermediate files on "make clean" from tests.

Zachary Turner zturner at google.com
Tue Dec 16 08:48:20 PST 2014


Author: zturner
Date: Tue Dec 16 10:48:19 2014
New Revision: 224345

URL: http://llvm.org/viewvc/llvm-project?rev=224345&view=rev
Log:
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.

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=224345&r1=224344&r2=224345&view=diff
==============================================================================
--- lldb/trunk/test/make/Makefile.rules (original)
+++ lldb/trunk/test/make/Makefile.rules Tue Dec 16 10:48:19 2014
@@ -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/





More information about the lldb-commits mailing list