ya.make 873 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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/clang16-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. -ffreestanding
  22. -fno-builtin
  23. -fno-exceptions
  24. -fno-lto
  25. -fno-rtti
  26. -fno-stack-protector
  27. -fomit-frame-pointer
  28. -frtti
  29. -funwind-tables
  30. -fvisibility=hidden
  31. )
  32. SRCDIR(contrib/libs/clang16-rt/lib)
  33. SRCS(
  34. hwasan/hwasan_new_delete.cpp
  35. ubsan/ubsan_handlers_cxx.cpp
  36. ubsan/ubsan_type_hash.cpp
  37. ubsan/ubsan_type_hash_itanium.cpp
  38. ubsan/ubsan_type_hash_win.cpp
  39. )
  40. END()