aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/clang18-rt/lib/scudo_standalone/ya.make
blob: 24b3e301d4a27de11edc8c5984e957dca90e61f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Generated by devtools/yamaker.

INCLUDE(${ARCADIA_ROOT}/build/platform/clang/arch.cmake)

LIBRARY(clang_rt.scudo_standalone${CLANG_RT_SUFFIX})

LICENSE(
    Apache-2.0 AND
    Apache-2.0 WITH LLVM-exception AND
    MIT AND
    NCSA
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

SUBSCRIBER(g:cpp-contrib)

VERSION(18.1.8)

ADDINCL(
    contrib/libs/clang18-rt/lib
    contrib/libs/clang18-rt/lib/scudo/standalone/include
)

NO_COMPILER_WARNINGS()

NO_UTIL()

NO_SANITIZE()

CFLAGS(
    -DGWP_ASAN_HOOKS
    -fno-builtin
    -fno-exceptions
    -fno-lto
    -fno-omit-frame-pointer
    -fno-rtti
    -fno-stack-protector
    -fomit-frame-pointer
    -funwind-tables
    -fvisibility=hidden
)

SRCDIR(contrib/libs/clang18-rt/lib)

SRCS(
    gwp_asan/common.cpp
    gwp_asan/crash_handler.cpp
    gwp_asan/guarded_pool_allocator.cpp
    gwp_asan/optional/backtrace_linux_libc.cpp
    gwp_asan/optional/options_parser.cpp
    gwp_asan/optional/segv_handler_posix.cpp
    gwp_asan/platform_specific/common_posix.cpp
    gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
    gwp_asan/platform_specific/mutex_posix.cpp
    gwp_asan/platform_specific/utilities_posix.cpp
    gwp_asan/stack_trace_compressor.cpp
    scudo/standalone/checksum.cpp
    scudo/standalone/common.cpp
    scudo/standalone/condition_variable_linux.cpp
    scudo/standalone/crc32_hw.cpp
    scudo/standalone/flags.cpp
    scudo/standalone/flags_parser.cpp
    scudo/standalone/fuchsia.cpp
    scudo/standalone/linux.cpp
    scudo/standalone/mem_map.cpp
    scudo/standalone/mem_map_fuchsia.cpp
    scudo/standalone/mem_map_linux.cpp
    scudo/standalone/release.cpp
    scudo/standalone/report.cpp
    scudo/standalone/report_linux.cpp
    scudo/standalone/string_utils.cpp
    scudo/standalone/timing.cpp
    scudo/standalone/wrappers_c.cpp
)

END()