RossBrunton wrote:

@jhuber6 I'm not sure that's possible generically. The AMD backend at least 
needs to mangle kernel names to add ".kd" on the end, so we'd need to know 
ahead of time whether it's a kernel or not.

However, `olGetSymbol` could work if we pass in the symbol kind as a parameter, 
then it dispatches to either kernel or global lookup depending on that.

https://github.com/llvm/llvm-project/pull/147944
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to