[compiler-rt] 606ca48 - [compiler-rt][Fuchsia] Support HWASan on Fuchsia
Leonard Chan via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 30 11:45:48 PDT 2021
Author: Leonard Chan
Date: 2021-07-30T11:43:03-07:00
New Revision: 606ca48d79f34afe652c877f9bbfb444e9380208
URL: https://github.com/llvm/llvm-project/commit/606ca48d79f34afe652c877f9bbfb444e9380208
DIFF: https://github.com/llvm/llvm-project/commit/606ca48d79f34afe652c877f9bbfb444e9380208.diff
LOG: [compiler-rt][Fuchsia] Support HWASan on Fuchsia
This allows for hwasan to be built targetting fuchsia.
Differential Revision: https://reviews.llvm.org/D103543
Added:
Modified:
compiler-rt/cmake/config-ix.cmake
Removed:
################################################################################
diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake
index 6f13acfa27579..ad230072ac4f4 100644
--- a/compiler-rt/cmake/config-ix.cmake
+++ b/compiler-rt/cmake/config-ix.cmake
@@ -711,7 +711,7 @@ else()
endif()
if (COMPILER_RT_HAS_SANITIZER_COMMON AND HWASAN_SUPPORTED_ARCH AND
- OS_NAME MATCHES "Linux|Android")
+ OS_NAME MATCHES "Linux|Android|Fuchsia")
set(COMPILER_RT_HAS_HWASAN TRUE)
else()
set(COMPILER_RT_HAS_HWASAN FALSE)
More information about the llvm-commits
mailing list