aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/clang18-rt/lib/profile/ya.make
blob: 685644c68042ecd6ca3b8ab1db18bc3b37f0ad21 (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
# Generated by devtools/yamaker.

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

LIBRARY(clang_rt.profile${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)

VERSION(18.1.8)

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

NO_COMPILER_WARNINGS()

NO_UTIL()

NO_SANITIZE()

CFLAGS(
    -DCOMPILER_RT_HAS_ATOMICS=1
    -DCOMPILER_RT_HAS_FCNTL_LCK=1
    -DCOMPILER_RT_HAS_UNAME=1
    -fno-lto
    -fno-exceptions
)

SRCS(
    GCDAProfiling.c
    InstrProfiling.c
    InstrProfilingBuffer.c
    InstrProfilingFile.c
    InstrProfilingInternal.c
    InstrProfilingMerge.c
    InstrProfilingMergeFile.c
    InstrProfilingNameVar.c
    InstrProfilingPlatformAIX.c
    InstrProfilingPlatformDarwin.c
    InstrProfilingPlatformFuchsia.c
    InstrProfilingPlatformLinux.c
    InstrProfilingPlatformOther.c
    InstrProfilingPlatformWindows.c
    InstrProfilingRuntime.cpp
    InstrProfilingUtil.c
    InstrProfilingValue.c
    InstrProfilingVersionVar.c
    InstrProfilingWriter.c
)

END()