[PATCH] D35922: [Driver] Enable AddressSanitizer for Fuchsia targets
Roland McGrath via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 1 15:08:37 PDT 2017
mcgrathr 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()
----------------
phosek wrote:
> I think we also need:
> ```
> set(RUNTIMES_${target}-fuchsia_SANITIZER_CXX_ABI "libcxxabi" ON CACHE STRING "")
> ```
>
>
That seems to default correctly when building it all together.
Should we add it anyway?
Repository:
rL LLVM
https://reviews.llvm.org/D35922
More information about the cfe-commits
mailing list