ya.make 5.5 KB

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