jhuber6 wrote:

> @jhuber6 Re: linker wrapper
> 
> I checked with `clang -v`. The new offload driver has a special device-only 
> non-RDC path that calls `lld` directly, without `clang-linker-wrapper`, so 
> there is no wrapper path to forward `-fprofile-generate` to. Assembly and IR 
> outputs stop before this link step.

I suppose then the question is why `--offload-device-only` rolls its own linker 
invocation instead of using the normal one.

https://github.com/llvm/llvm-project/pull/211675
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to