================
@@ -1,7 +1,7 @@
[
{
"directory": "DIR",
- "command": "clang -E DIR/modules-fmodule-name-no-module-built.m -IInputs -D
INCLUDE_HEADER2 -MD -MF DIR/modules_cdb.d -fmodules -fcxx-modules
-fmodules-cache-path=DIR/module-cache -fimplicit-modules -fmodule-name=header3
-fimplicit-module-maps",
+ "command": "clang -E DIR/modules-fmodule-name-no-module-built.m -IDIR/Inputs
-D INCLUDE_HEADER2 -MD -MF DIR/modules_cdb.d -fmodules -fcxx-modules
-fmodules-cache-path=DIR/module-cache -fimplicit-modules -fmodule-name=header3
-fimplicit-module-maps",
----------------
cyndyishida wrote:
IIRC, yes, and I think the problem there is that `makeAbsoluteAndPreferred`
does not always return an absolute path, and we don't verify it does. I didn't
dig deep here, but looking through the code it tries to resolve an absolute
path from the specified working directory, which would make sense that a search
path does not always come from the same WD.
https://github.com/llvm/llvm-project/pull/181836
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits