rjmccall added a comment.

I don't know for certain, but I would guess that the kernel wants to get the 
address of the first instruction in the function for the purposes of some sort 
of later PC-based table lookup, which means that yes, it probably *does* need 
to bypass descriptors on CHERI / Itanium / whatever else.

What we're trying to do here is *avoid* a can of worms by clearly understanding 
what the desired semantics are, rather than adding a builtin with the semantics 
of "ignore exactly the one complication that we ran into first".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108479

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

Reply via email to