[compiler-rt] [compiler-rt][ASan] Remove alignment checks in ASan error reporting (PR #94103)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 23 12:57:36 PDT 2024


AdvenamTacet wrote:

This patch here only removes printing the message.
Whenever incorrect arguments are provided `ErrorBadParamsToAnnotateContiguousContainer::Print()` is called, and all arguments are printed etc.
Additionally, inside that `Print`, if `beg` is unaligned, that message is printed.

However, because unaligned `beg` is correct, it does not trigger any message. The message is printed if another argument is incorrect and additionally beg is not aligned (and therefore is confusing).

https://github.com/llvm/llvm-project/pull/94103


More information about the llvm-commits mailing list