[sanitizer] Add hexagon support to asan
authorBrian Cain <bcain@quicinc.com>
Mon, 16 Aug 2021 23:33:21 +0000 (16:33 -0700)
committerBrian Cain <bcain@quicinc.com>
Wed, 18 Aug 2021 02:59:24 +0000 (19:59 -0700)
Adds build support for hexagon linux to asan.

compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake

index d81baa2..5eddec9 100644 (file)
@@ -26,7 +26,7 @@ set(ALL_SANITIZER_COMMON_SUPPORTED_ARCH ${X86} ${X86_64} ${PPC64} ${RISCV64}
     ${ARM32} ${ARM64} ${MIPS32} ${MIPS64} ${S390X} ${SPARC} ${SPARCV9}
     ${HEXAGON})
 set(ALL_ASAN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${RISCV64}
-    ${MIPS32} ${MIPS64} ${PPC64} ${S390X} ${SPARC} ${SPARCV9})
+    ${MIPS32} ${MIPS64} ${PPC64} ${S390X} ${SPARC} ${SPARCV9} ${HEXAGON})
 set(ALL_CRT_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${PPC32} ${PPC64} ${RISCV32} ${RISCV64} ${VE})
 set(ALL_DFSAN_SUPPORTED_ARCH ${X86_64} ${MIPS64} ${ARM64})