[PATCH] D40943: [Sanitizers] Enable sanitizers on SPARC (PR 33274)

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 02:04:10 PDT 2019


ro updated this revision to Diff 207243.
ro added a comment.
Herald added a project: LLVM.

This slightly revised patch completely disabled asan testing since that would break the
build as described.  It does build it to make sure that it keeps compiling for use in GCC
where it works just fine.

Apart from that, it includes `GENERIC_TF_SOURCES` in `sparc*_SOURCES` to avoid
a couple of builtin test link failures.

Also, on top of https://reviews.llvm.org/D63982, it disables SPARC ubsan-with-asan
testing.

This patch allows reasonable `sparcv9-sun-solaris2.11` results.  Ok for trunk?


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D40943/new/

https://reviews.llvm.org/D40943

Files:
  cmake/Modules/CompilerRTUtils.cmake
  cmake/base-config-ix.cmake
  cmake/builtin-config-ix.cmake
  cmake/config-ix.cmake
  lib/asan/tests/CMakeLists.txt
  lib/builtins/CMakeLists.txt
  lib/builtins/fp_lib.h
  test/asan/CMakeLists.txt
  test/ubsan/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40943.207243.patch
Type: text/x-patch
Size: 7157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190701/05a047c4/attachment.bin>


More information about the llvm-commits mailing list