aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/module-private.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-09-13 23:15:45 +0000
committerDouglas Gregor <dgregor@apple.com>2011-09-13 23:15:45 +0000
commit6e975c4517958bcc11c834336d340797356058db (patch)
treee3b9b3a30636d52d700d5e48004d86f24dc7f70a /test/Modules/module-private.cpp
parent7ea51d5f0b4a8fc5768d1b4744a556dc756f1b3b (diff)
For modules, use a hash of the compiler version, language options, and
target triple to separate modules built under different conditions. The hash is used to create a subdirectory in the module cache path where other invocations of the compiler (with the same version, language options, etc.) can find the precompiled modules. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/module-private.cpp')
-rw-r--r--test/Modules/module-private.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Modules/module-private.cpp b/test/Modules/module-private.cpp
index 81b2aca3fb..7bd2a205c0 100644
--- a/test/Modules/module-private.cpp
+++ b/test/Modules/module-private.cpp
@@ -1,7 +1,7 @@
// RUN: mkdir -p %t
// RUN: %clang_cc1 -x c++ -emit-module -o %t/left.pcm %s -D MODULE_LEFT
// RUN: %clang_cc1 -x c++ -emit-module -o %t/right.pcm %s -D MODULE_RIGHT
-// RUN: %clang_cc1 -fmodule-cache-path %t %s -verify
+// RUN: %clang_cc1 -fmodule-cache-path %t -fdisable-module-hash %s -verify
#if defined(MODULE_LEFT)