t-8ch wrote:
This does works for the compilation step, for me it isn't sufficient to link
the resulting object file:
```sh
$ clang -I ./include -c ./src/use_macro.c -flto # Fixed by this PR
$ ld.lld use_macro.o
ld.lld: error: <inline asm>:1:10: Could not find include file 'macro.s'
.include "macro.s"
^
ld.lld: error: ld-temp.o <inline asm>:2:10: Could not find include file
'macro.s'
.include "macro.s"
```
https://github.com/llvm/llvm-project/pull/143692
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits