[PATCH] D103543: [compiler-rt][Fuchsia] Support HWASan on Fuchsia
    Leonard Chan via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Jun  2 11:22:23 PDT 2021
    
    
  
leonardchan created this revision.
leonardchan added reviewers: phosek, mcgrathr, charco.
leonardchan added a project: Sanitizers.
Herald added subscribers: mgorny, dberris.
leonardchan requested review of this revision.
Herald added a subscriber: Sanitizers.
This allows for hwasan to be built targetting fuchsia.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D103543
Files:
  compiler-rt/cmake/config-ix.cmake
Index: compiler-rt/cmake/config-ix.cmake
===================================================================
--- compiler-rt/cmake/config-ix.cmake
+++ compiler-rt/cmake/config-ix.cmake
@@ -711,7 +711,7 @@
 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103543.349334.patch
Type: text/x-patch
Size: 449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210602/19935ac5/attachment.bin>
    
    
More information about the cfe-commits
mailing list