[PATCH] D35922: [Driver] Enable AddressSanitizer for Fuchsia targets

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 26 15:46:25 PDT 2017


phosek added inline comments.


================
Comment at: cmake/caches/Fuchsia-stage2.cmake:50
   set(RUNTIMES_${target}-fuchsia_LIBCXX_ABI_VERSION 2 CACHE STRING "")
+  set(RUNTIMES_${target}-fuchsia_SANITIZER_USE_COMPILER_RT ON CACHE BOOL "")
 endforeach()
----------------
I think we also need:
```
set(RUNTIMES_${target}-fuchsia_SANITIZER_CXX_ABI "libcxxabi" ON CACHE STRING "")
```




Repository:
  rL LLVM

https://reviews.llvm.org/D35922





More information about the cfe-commits mailing list