yaxunl added a comment.

In D115283#3181128 <https://reviews.llvm.org/D115283#3181128>, @JonChesterfield 
wrote:

> Not exactly that. The weak symbol isn't the function name, as that gets 
> renamed or inlined.

We discussed this before. As code object ABI use runtime metadata to represent 
hostcall_buffer, we need to check whether hostcall is needed by IR.

This approach will require checking asm instructions inside a function to 
determine whether this function requires hostcall. It is hacking for IR 
representation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115283/new/

https://reviews.llvm.org/D115283

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to