[Lldb-commits] [lldb] r366352 - [Test] Add module cache for TestWeakSymbols

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 17 10:22:29 PDT 2019


Author: jdevlieghere
Date: Wed Jul 17 10:22:29 2019
New Revision: 366352

URL: http://llvm.org/viewvc/llvm-project?rev=366352&view=rev
Log:
[Test] Add module cache for TestWeakSymbols

Explicitly set the module cache in the Makefile with
-fmodules-cache-path.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/expression_command/weak_symbols/Makefile

Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/weak_symbols/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/weak_symbols/Makefile?rev=366352&r1=366351&r2=366352&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/expression_command/weak_symbols/Makefile (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/weak_symbols/Makefile Wed Jul 17 10:22:29 2019
@@ -22,5 +22,5 @@ dylib2.o: dylib.h $(SRCDIR)/dylib.c
 	$(CC)  $(CFLAGS) -c $(SRCDIR)/dylib.c -o dylib2.o
 
 main.o: dylib.h $(SRCDIR)/main.c
-	$(CC)  $(CFLAGS) -c $(SRCDIR)/main.c -fmodules
+	$(CC)  $(CFLAGS) -c $(SRCDIR)/main.c -fmodules -fmodules-cache-path=$(CLANG_MODULE_CACHE_DIR)
 




More information about the lldb-commits mailing list