ya.make 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. # Generated by devtools/yamaker.
  2. INCLUDE(${ARCADIA_ROOT}/build/platform/clang/arch.cmake)
  3. LIBRARY(clang_rt.tsan${CLANG_RT_SUFFIX})
  4. LICENSE(
  5. Apache-2.0 AND
  6. Apache-2.0 WITH LLVM-exception AND
  7. MIT AND
  8. NCSA
  9. )
  10. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  11. OWNER(g:cpp-contrib)
  12. ADDINCL(
  13. contrib/libs/clang14-rt/lib
  14. )
  15. NO_COMPILER_WARNINGS()
  16. NO_UTIL()
  17. NO_SANITIZE()
  18. CFLAGS(
  19. -DHAVE_RPC_XDR_H=0
  20. -DUBSAN_CAN_USE_CXXABI
  21. -fPIE
  22. -fcommon
  23. -fno-builtin
  24. -fno-exceptions
  25. -fno-lto
  26. -fno-rtti
  27. -fno-stack-protector
  28. -fomit-frame-pointer
  29. -funwind-tables
  30. -fvisibility=hidden
  31. )
  32. SRCDIR(contrib/libs/clang14-rt/lib)
  33. SRCS(
  34. interception/interception_linux.cpp
  35. interception/interception_mac.cpp
  36. interception/interception_type_test.cpp
  37. interception/interception_win.cpp
  38. sanitizer_common/sancov_flags.cpp
  39. sanitizer_common/sanitizer_allocator.cpp
  40. sanitizer_common/sanitizer_allocator_checks.cpp
  41. sanitizer_common/sanitizer_allocator_report.cpp
  42. sanitizer_common/sanitizer_chained_origin_depot.cpp
  43. sanitizer_common/sanitizer_common.cpp
  44. sanitizer_common/sanitizer_common_libcdep.cpp
  45. sanitizer_common/sanitizer_coverage_fuchsia.cpp
  46. sanitizer_common/sanitizer_coverage_libcdep_new.cpp
  47. sanitizer_common/sanitizer_coverage_win_sections.cpp
  48. sanitizer_common/sanitizer_deadlock_detector1.cpp
  49. sanitizer_common/sanitizer_deadlock_detector2.cpp
  50. sanitizer_common/sanitizer_errno.cpp
  51. sanitizer_common/sanitizer_file.cpp
  52. sanitizer_common/sanitizer_flag_parser.cpp
  53. sanitizer_common/sanitizer_flags.cpp
  54. sanitizer_common/sanitizer_fuchsia.cpp
  55. sanitizer_common/sanitizer_libc.cpp
  56. sanitizer_common/sanitizer_libignore.cpp
  57. sanitizer_common/sanitizer_linux.cpp
  58. sanitizer_common/sanitizer_linux_libcdep.cpp
  59. sanitizer_common/sanitizer_linux_s390.cpp
  60. sanitizer_common/sanitizer_mac.cpp
  61. sanitizer_common/sanitizer_mac_libcdep.cpp
  62. sanitizer_common/sanitizer_mutex.cpp
  63. sanitizer_common/sanitizer_netbsd.cpp
  64. sanitizer_common/sanitizer_platform_limits_freebsd.cpp
  65. sanitizer_common/sanitizer_platform_limits_linux.cpp
  66. sanitizer_common/sanitizer_platform_limits_netbsd.cpp
  67. sanitizer_common/sanitizer_platform_limits_posix.cpp
  68. sanitizer_common/sanitizer_platform_limits_solaris.cpp
  69. sanitizer_common/sanitizer_posix.cpp
  70. sanitizer_common/sanitizer_posix_libcdep.cpp
  71. sanitizer_common/sanitizer_printf.cpp
  72. sanitizer_common/sanitizer_procmaps_bsd.cpp
  73. sanitizer_common/sanitizer_procmaps_common.cpp
  74. sanitizer_common/sanitizer_procmaps_fuchsia.cpp
  75. sanitizer_common/sanitizer_procmaps_linux.cpp
  76. sanitizer_common/sanitizer_procmaps_mac.cpp
  77. sanitizer_common/sanitizer_procmaps_solaris.cpp
  78. sanitizer_common/sanitizer_solaris.cpp
  79. sanitizer_common/sanitizer_stack_store.cpp
  80. sanitizer_common/sanitizer_stackdepot.cpp
  81. sanitizer_common/sanitizer_stacktrace.cpp
  82. sanitizer_common/sanitizer_stacktrace_libcdep.cpp
  83. sanitizer_common/sanitizer_stacktrace_printer.cpp
  84. sanitizer_common/sanitizer_stacktrace_sparc.cpp
  85. sanitizer_common/sanitizer_stoptheworld_fuchsia.cpp
  86. sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
  87. sanitizer_common/sanitizer_stoptheworld_mac.cpp
  88. sanitizer_common/sanitizer_stoptheworld_netbsd_libcdep.cpp
  89. sanitizer_common/sanitizer_stoptheworld_win.cpp
  90. sanitizer_common/sanitizer_suppressions.cpp
  91. sanitizer_common/sanitizer_symbolizer.cpp
  92. sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp
  93. sanitizer_common/sanitizer_symbolizer_libcdep.cpp
  94. sanitizer_common/sanitizer_symbolizer_mac.cpp
  95. sanitizer_common/sanitizer_symbolizer_markup.cpp
  96. sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
  97. sanitizer_common/sanitizer_symbolizer_report.cpp
  98. sanitizer_common/sanitizer_symbolizer_win.cpp
  99. sanitizer_common/sanitizer_termination.cpp
  100. sanitizer_common/sanitizer_thread_registry.cpp
  101. sanitizer_common/sanitizer_tls_get_addr.cpp
  102. sanitizer_common/sanitizer_type_traits.cpp
  103. sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
  104. sanitizer_common/sanitizer_unwind_win.cpp
  105. sanitizer_common/sanitizer_win.cpp
  106. tsan/rtl/tsan_debugging.cpp
  107. tsan/rtl/tsan_external.cpp
  108. tsan/rtl/tsan_fd.cpp
  109. tsan/rtl/tsan_flags.cpp
  110. tsan/rtl/tsan_ignoreset.cpp
  111. tsan/rtl/tsan_interceptors_posix.cpp
  112. tsan/rtl/tsan_interface.cpp
  113. tsan/rtl/tsan_interface_ann.cpp
  114. tsan/rtl/tsan_interface_atomic.cpp
  115. tsan/rtl/tsan_interface_java.cpp
  116. tsan/rtl/tsan_malloc_mac.cpp
  117. tsan/rtl/tsan_md5.cpp
  118. tsan/rtl/tsan_mman.cpp
  119. tsan/rtl/tsan_mutexset.cpp
  120. tsan/rtl/tsan_platform_posix.cpp
  121. tsan/rtl/tsan_preinit.cpp
  122. tsan/rtl/tsan_report.cpp
  123. tsan/rtl/tsan_rtl.cpp
  124. tsan/rtl/tsan_rtl_aarch64.S
  125. tsan/rtl/tsan_rtl_access.cpp
  126. tsan/rtl/tsan_rtl_amd64.S
  127. tsan/rtl/tsan_rtl_mutex.cpp
  128. tsan/rtl/tsan_rtl_proc.cpp
  129. tsan/rtl/tsan_rtl_report.cpp
  130. tsan/rtl/tsan_rtl_thread.cpp
  131. tsan/rtl/tsan_stack_trace.cpp
  132. tsan/rtl/tsan_suppressions.cpp
  133. tsan/rtl/tsan_symbolize.cpp
  134. tsan/rtl/tsan_sync.cpp
  135. tsan/rtl/tsan_vector_clock.cpp
  136. ubsan/ubsan_diag.cpp
  137. ubsan/ubsan_flags.cpp
  138. ubsan/ubsan_handlers.cpp
  139. ubsan/ubsan_init.cpp
  140. ubsan/ubsan_monitor.cpp
  141. ubsan/ubsan_value.cpp
  142. )
  143. IF (ARCH_PPC64LE)
  144. SRCS(
  145. tsan/rtl/tsan_rtl_ppc64.S
  146. )
  147. ENDIF()
  148. IF (OS_DARWIN)
  149. SRCS(
  150. tsan/rtl/tsan_interceptors_mac.cpp
  151. tsan/rtl/tsan_interceptors_mach_vm.cpp
  152. tsan/rtl/tsan_platform_mac.cpp
  153. )
  154. ELSEIF (OS_LINUX)
  155. SRCS(
  156. tsan/rtl/tsan_platform_linux.cpp
  157. )
  158. ENDIF()
  159. END()