[all-commits] [llvm/llvm-project] d644ab: Update __sanitizer_get_allocated_begin to return c...
thurstond via All-commits
all-commits at lists.llvm.org
Mon Apr 3 17:49:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d644ab022a7be985255db29fd466798e9b138bee
https://github.com/llvm/llvm-project/commit/d644ab022a7be985255db29fd466798e9b138bee
Author: Thurston Dang <thurston at google.com>
Date: 2023-04-04 (Tue, 04 Apr 2023)
Changed paths:
M compiler-rt/include/sanitizer/allocator_interface.h
M compiler-rt/lib/asan/asan_allocator.cpp
M compiler-rt/lib/dfsan/dfsan_allocator.cpp
M compiler-rt/lib/hwasan/hwasan_allocator.cpp
M compiler-rt/lib/lsan/lsan_allocator.cpp
M compiler-rt/lib/memprof/memprof_allocator.cpp
M compiler-rt/lib/msan/msan_allocator.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_allocator_interface.h
M compiler-rt/lib/tsan/rtl/tsan_mman.cpp
M compiler-rt/test/sanitizer_common/TestCases/get_allocated_begin.cpp
Log Message:
-----------
Update __sanitizer_get_allocated_begin to return const void*
D147005 introduced __sanitizer_get_allocated_begin, with a return
value of void*. This involved a few naughty casts that dropped the
const. This patch adds back the const qualifier.
Differential Revision: https://reviews.llvm.org/D147489
More information about the All-commits
mailing list