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

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

LIBRARY(clang_rt.profile${CLANG_RT_SUFFIX})

VERSION(14.0.6)

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)

ADDINCL(
    contrib/libs/clang14-rt/include
    contrib/libs/clang14-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
    -fcommon
    -fno-lto
    -fno-exceptions
)

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

END()