================
@@ -11902,7 +11886,8 @@ void
OpenMPIRBuilder::createOffloadEntriesAndInfoMetadata(
}
createOffloadEntry(CE->getID(), CE->getAddress(),
/*Size=*/0, CE->getFlags(),
- GlobalValue::WeakAnyLinkage);
+ GlobalValue::ExternalLinkage,
----------------
jdoerfert wrote:
If not, we hide kernels and there is no link error. Two kernels with the same
name will be allowed (as they are technically now) but the handles will pick up
only the first registered, the others are lost in the aether.
https://github.com/llvm/llvm-project/pull/200301
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits