pcc added a comment.

FWIW, on aarch64 we decided to make `-fsanitize=shadow-call-stack` require the 
x18 reservation (instead of implying it) to try to avoid ABI mismatch problems. 
That is, it should be safe to mix and match code compiled with and without 
`-fsanitize=shadow-call-stack`. If we make `-fsanitize=shadow-call-stack` imply 
the x18 reservation, it makes it more likely that someone will accidentally 
build and link in incompatible code that does not reserve x18.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84414

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

Reply via email to