ya.make 886 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Generated by devtools/yamaker.
  2. INCLUDE(${ARCADIA_ROOT}/build/platform/clang/arch.cmake)
  3. LIBRARY(clang_rt.hwasan_cxx${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. -DHWASAN_WITH_INTERCEPTORS=1
  20. -DUBSAN_CAN_USE_CXXABI
  21. -fcommon
  22. -ffreestanding
  23. -fno-builtin
  24. -fno-exceptions
  25. -fno-lto
  26. -fno-rtti
  27. -fno-stack-protector
  28. -fomit-frame-pointer
  29. -frtti
  30. -funwind-tables
  31. -fvisibility=hidden
  32. )
  33. SRCDIR(contrib/libs/clang14-rt/lib)
  34. SRCS(
  35. hwasan/hwasan_new_delete.cpp
  36. ubsan/ubsan_handlers_cxx.cpp
  37. ubsan/ubsan_type_hash.cpp
  38. ubsan/ubsan_type_hash_itanium.cpp
  39. ubsan/ubsan_type_hash_win.cpp
  40. )
  41. END()