Issue |
119929
|
Summary |
[C++][Modules] `-fmodule-output` does nothing
|
Labels |
new issue
|
Assignees |
|
Reporter |
davidstone
|
Given some module in file a.cpp
```
export module b;
```
Compiling it with
`clang++ -std=c++20 -x c++-module -fmodule-output=c.pcm --precompile a.cpp`
I would expect to produce a file `c.pcm`. Instead it produces a file `a.pcm`. Am I misunderstanding the purpose of this option? The documentation states
> `-fmodule-output=<arg>`
> Save intermediate module file results when compiling a standard C++ module unit.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs