[PATCH] D16428: [CMake] Provide options for toggling on and off various runtime libraries.

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 21 13:53:22 PST 2016


beanz created this revision.
beanz added a reviewer: samsonov.
beanz added a subscriber: llvm-commits.

Trying this again after I had to back it out due to bot failures.

I believe the bot failrues were the result of the interception library getting picked up in places it shouldn't have been. This is fixed by adding the REQUIRES_INTERCEPTION list. Original code review (http://reviews.llvm.org/D14846).

Rather than having to add new "experimental" options each time someone wants to work on bringing a sanitizer to a new platform, this patch makes options for all of them.

The default values for the options are set by the platform checks that would have enabled them, but they can be overridden on or off.

http://reviews.llvm.org/D16428

Files:
  cmake/Modules/CompilerRTUtils.cmake
  cmake/config-ix.cmake
  lib/CMakeLists.txt
  lib/lsan/CMakeLists.txt
  lib/tsan/CMakeLists.txt
  lib/ubsan/CMakeLists.txt
  test/CMakeLists.txt
  test/cfi/CMakeLists.txt
  test/interception/CMakeLists.txt
  test/stats/CMakeLists.txt
  test/ubsan/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16428.45591.patch
Type: text/x-patch
Size: 11795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160121/a65923c7/attachment.bin>


More information about the llvm-commits mailing list