[all-commits] [llvm/llvm-project] f1fd9d: [compiler-rt][ASan] Remove alignment message in AS...

Tacet via All-commits all-commits at lists.llvm.org
Mon Aug 5 12:02:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1fd9d716decf3513c8ae54df1d60462eb878fb5
      https://github.com/llvm/llvm-project/commit/f1fd9d716decf3513c8ae54df1d60462eb878fb5
  Author: Tacet <advenam.tacet at gmail.com>
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
    M compiler-rt/lib/asan/asan_errors.cpp
    M compiler-rt/test/asan/TestCases/contiguous_container_crash.cpp

  Log Message:
  -----------
  [compiler-rt][ASan] Remove alignment message in ASan error reporting (#94103)

This commit removes unnecessary alignment check and message in ASan
error reporting functions (like
`ErrorBadParamsToAnnotateContiguousContainer::Print()`), as alignment is
no longer required starting from LLVM 16.

Without that commit, this message can be observed only when arguments
are truly incorrect and `beg` is unaligned. Just unaligned `beg` does
not result in any message being printed.

Related commits:
-
https://github.com/llvm/llvm-project/commit/dd1b7b797a116eed588fd752fbe61d34deeb24e4
-
https://github.com/llvm/llvm-project/commit/1c5ad6d2c01294a0decde43a88e9c27d7437d157



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list