[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:48:43 PDT 2024


AdvenamTacet wrote:

Yes, it should exit with zero. I can add it, but we test it in contiguous_container.cpp test already.

---
Creating unaligned beg:

https://github.com/llvm/llvm-project/blob/055e4319112282354327af9908091fdb25149e9b/compiler-rt/test/asan/TestCases/contiguous_container.cpp#L123

Using unaligned beg:

https://github.com/llvm/llvm-project/blob/055e4319112282354327af9908091fdb25149e9b/compiler-rt/test/asan/TestCases/contiguous_container.cpp#L137-L138

---

Same for `__sanitizer_annotate_contiguous_container`:

https://github.com/llvm/llvm-project/blob/055e4319112282354327af9908091fdb25149e9b/compiler-rt/test/asan/TestCases/contiguous_container.cpp#L49-L59

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


More information about the llvm-commits mailing list