================
@@ -0,0 +1,21 @@
+// RUN: rm -rf %t
+// RUN: split-file %s %t
+
+// Verify a module that is built in the same session was looked up during a
relocation
+// check when forced.
+
+// RUN: touch %t/session.timestamp
+// RUN: %clang -fmodules -fimplicit-module-maps -fsyntax-only %t/tu1.c \
+// RUN: -fmodules-cache-path=%t/cache -I%t/include \
+// RUN: -fbuild-session-file=%t/session.timestamp
-fmodules-validate-once-per-build-session \
+// RUN: -Xclang -fmodules-force-redundant-lookup -Rmodule-validation 2>&1 |
FileCheck %s
+
+// CHECK: checking if module 'Dep' from '{{.*}}Dep-{{.*}}.pcm' has relocated
----------------
vsapsai wrote:
Just want to double-check. Validating just-built module is desirable? Or is it
just acceptable?
Thinking if this test is representative of a use case you want to support.
https://github.com/llvm/llvm-project/pull/219107
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits