[clang] [clang][deps] Add module map describing compiled module to file dependencies. (PR #160226)

Volodymyr Sapsai via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 22 21:08:28 PDT 2025


================
@@ -46,7 +46,8 @@
 // CHECK:            "file-deps": [
 // CHECK-NEXT:         "[[PREFIX]]/modules-fmodule-name-no-module-built.m",
 // CHECK-NEXT:         "[[PREFIX]]/Inputs/header3.h",
-// CHECK-NEXT:         "[[PREFIX]]/Inputs/header.h"
+// CHECK-NEXT:         "[[PREFIX]]/Inputs/header.h",
+// CHECK-NEXT:         "Inputs/module.modulemap"
----------------
vsapsai wrote:

I'm a little bit suspicious that here we use a relative path to the modulemap. But it is the same value we provide on the command line. cc @benlangmuir as the author of 73dba2f649a8e8c01e9c8b8df3bdc89cdf0fd7ee.

https://github.com/llvm/llvm-project/pull/160226


More information about the cfe-commits mailing list