llvm-project/compiler-rt
Alexander Potapenko 811f958eef [compiler-rt][hwasan] Factor out CanUseTaggingAbi() and EnableTaggingAbi()
Simplify InitializeOsSupport() by separating code for detecting and
enabling the tagged address ABI.

Also drop the unnecessary errno checks (regardless of errno value, we
cannot assume that tagging works if the system call failed) and ensure
prctl(PR_SET_TAGGED_ADDR_CTRL) is only called on Android, not on x86
(where arch_prctl(ARCH_ENABLE_TAGGED_ADDR, kTagBits) is used).

Depends on D132544

Differential Revision: https://reviews.llvm.org/D132545
2022-08-25 10:43:27 +02:00
..
cmake [compiler-rt][builtins] Add compiler flags to catch potential errors 2022-08-24 15:52:31 -07:00
docs Revert "[cmake] Use `CMAKE_INSTALL_LIBDIR` too" 2022-08-18 22:46:32 -04:00
include [compiler-rt][builtins] Add compiler flags to catch potential errors 2022-08-24 15:52:31 -07:00
lib [compiler-rt][hwasan] Factor out CanUseTaggingAbi() and EnableTaggingAbi() 2022-08-25 10:43:27 +02:00
test [memprof] Correct max size and access count computations 2022-08-23 16:53:46 -07:00
tools
unittests
utils
www
.clang-tidy
.gitignore
CMakeLists.txt Revert "Revert "[compiler-rt] Fix check for cross-compiling"" 2022-08-19 07:00:51 -07:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
README.txt

README.txt

Compiler-RT
================================

This directory and its subdirectories contain source code for the compiler
support routines.

Compiler-RT is open source software. You may freely distribute it under the
terms of the license agreement found in LICENSE.txt.

================================