vitalybuka wrote:

> why can't hwasan and PGO instrumentation coexist?

They can, but binary is like 5x times slower, on top of 10x slowdown of PGO 
instrumentation.

> 
> and this seems like it should be an error at the clang driver level, instead 
> of silently turning off one of the requested features

1. We need -fsanitizer=hwaddress, for attributes and profile matching, and some 
special handling done in earlier passes.
2. We don't wan't users care about profile instrumentation/use difference.

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

Reply via email to