Home | History | Annotate | Download | only in lib
      1 # First, add the subdirectories which contain feature-based runtime libraries
      2 # and several convenience helper libraries.
      3 
      4 include(AddCompilerRT)
      5 include(SanitizerUtils)
      6 
      7 if(COMPILER_RT_HAS_SANITIZER_COMMON)
      8   add_subdirectory(interception)
      9   add_subdirectory(sanitizer_common)
     10   add_subdirectory(lsan)
     11   add_subdirectory(ubsan)
     12 endif()
     13 
     14 if(COMPILER_RT_HAS_ASAN)
     15   add_subdirectory(asan)
     16 endif()
     17 
     18 add_subdirectory(builtins)
     19 
     20 if(COMPILER_RT_HAS_DFSAN)
     21   add_subdirectory(dfsan)
     22 endif()
     23 
     24 if(COMPILER_RT_HAS_MSAN)
     25   add_subdirectory(msan)
     26 endif()
     27 
     28 if(COMPILER_RT_HAS_PROFILE)
     29   add_subdirectory(profile)
     30 endif()
     31 
     32 if(COMPILER_RT_HAS_TSAN)
     33   add_subdirectory(tsan)
     34   add_subdirectory(tsan/dd)
     35 endif()
     36 
     37