aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/clang16-rt/lib/profile/ya.make
blob: 5403ebac4d8eb64cee88444590cc169ebdf1c63f (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
# 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)

OWNER(g:cpp-contrib)

ADDINCL(
    contrib/libs/clang16-rt/include
    contrib/libs/clang16-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
    InstrProfilingPlatformDarwin.c
    InstrProfilingPlatformFuchsia.c
    InstrProfilingPlatformLinux.c
    InstrProfilingPlatformOther.c
    InstrProfilingPlatformWindows.c
    InstrProfilingRuntime.cpp
    InstrProfilingUtil.c
    InstrProfilingValue.c
    InstrProfilingVersionVar.c
    InstrProfilingWriter.c
)

END()