smd added a comment.

In D131345#3712814 <https://reviews.llvm.org/D131345#3712814>, @kito-cheng 
wrote:

> I guess we should checking `J` extension is enabled somewhere when user 
> trying to enable HWASAN? or checking that at HWASAN library at run-time? 
> otherwise my understanding is user will get crash when enabling HWASAN if 
> linux and/or HW don't support that?

It relies on a runtime check: during init runtime makes 
PR_{SET,GET}_TAGGED_ADDR_CTRL calls and if they're not supported, it fails with 
an error.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131345

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

Reply via email to