[all-commits] [llvm/llvm-project] 9dc067: [GWP-ASan] Add aligned allocations.
Mitch Phillips via All-commits
all-commits at lists.llvm.org
Tue Feb 2 14:45:15 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9dc06762470cb5a6cde8de5833cb75262e1bacb0
https://github.com/llvm/llvm-project/commit/9dc06762470cb5a6cde8de5833cb75262e1bacb0
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2021-02-02 (Tue, 02 Feb 2021)
Changed paths:
M compiler-rt/lib/gwp_asan/CMakeLists.txt
M compiler-rt/lib/gwp_asan/common.cpp
M compiler-rt/lib/gwp_asan/common.h
M compiler-rt/lib/gwp_asan/crash_handler.cpp
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.h
M compiler-rt/lib/gwp_asan/options.inc
M compiler-rt/lib/gwp_asan/tests/alignment.cpp
M compiler-rt/lib/gwp_asan/tests/basic.cpp
M compiler-rt/lib/gwp_asan/tests/crash_handler_api.cpp
R compiler-rt/lib/gwp_asan/utilities.cpp
M compiler-rt/lib/gwp_asan/utilities.h
Log Message:
-----------
[GWP-ASan] Add aligned allocations.
Adds a new allocation API to GWP-ASan that handles size+alignment
restrictions.
Differential Revision: https://reviews.llvm.org/D94830
Commit: 30973f6fe01cc0a9624147466f0c54b91a1b61d7
https://github.com/llvm/llvm-project/commit/30973f6fe01cc0a9624147466f0c54b91a1b61d7
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2021-02-02 (Tue, 02 Feb 2021)
Changed paths:
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.h
Log Message:
-----------
[GWP-ASan] Add locking around unwinder for atfork protection.
Unwinders (like libc's backtrace()) can call their own locks (like the
libdl lock). We need to let the unwinder release the locks before
forking. Wrap a new lock around the unwinder for atfork protection.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D95889
Compare: https://github.com/llvm/llvm-project/compare/32e98f05fe10...30973f6fe01c
More information about the All-commits
mailing list