================
@@ -49,7 +50,17 @@ namespace toolchains {
class LLVM_LIBRARY_VISIBILITY AMDGPUToolChain : public Generic_ELF {
protected:
- const std::map<options::ID, const StringRef> OptionsDefault;
+ const std::map<options::ID, StringRef> OptionsDefault;
+
+ // Optional host toolchain for offloading modes.
+ const ToolChain *HostTC = nullptr;
+
+ /// FIXME: Should merge 2 linkers.
----------------
jhuber6 wrote:
Is this even still relevant with the new driver? I'm pretty sure both paths go
through the `clang --target=amdgcn-amd-amdhsa` one, which invokes what used to
be the base `AMDGPU` linker instead of the HIPAMD one.
https://github.com/llvm/llvm-project/pull/204863
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits