Issue 140825
Summary [clang-cl] --precompile make -fmodule-output directory ignored
Labels new issue
Assignees
Reporter Arthapz
    when using clang-cl, --precompile seems to force the pcm file to be generated in the directory when clang is invoked instead of respecting -fmodule-output

<img width="627" alt="Image" src="" />

```
// test.mpp
export module Test;
```

```
> F:\llvm\bin\clang-cl -std:c++20 -x c++-module -fmodule-output=a\test.pcm test.mpp -c
```

```
F:\llvm\bin\clang-cl -std:c++20 -x c++-module -fmodule-output=a\test.pcm test.mpp --precompile
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to