Issue |
144470
|
Summary |
[clang] fmodule-file-home-is-cwd doesn't work
|
Labels |
clang
|
Assignees |
|
Reporter |
matts1
|
To reproduce:
```
touch a.h
clang++ -x c++-header a.h -Xclang -fmodule-file-home-is-cwd -o a.pcm
clang++ -module-file-info a.pcm | grep "Input file"
```
Got: `/absolute/path/to/a.h`
Want: `a.h`
The same applies to input pcm files, though I don't have a simple reproducer for that.
When I add `-fmodule-file=obj/buildtools/third_party/libc++/std/module.pcm`, I find that the module info output contains `Imports module 'std': /absolute/path/to/obj/buildtools/third_party/libc++/std/module.pcm`
(And yes, I checked - the file itself contains absolute paths, it's not just output by the tool)
This is a problem for us, because we want to use remote execution, which requires that our paths be relative.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs