blob: e71ff6c3954fa3a004d69bfd51cca7528bb6703f [file] [log] [blame]
Alphan Ulusoyd326f252020-08-06 13:35:57 -04001// Copyright lowRISC contributors.
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4{
5 name: "llvm_clang_rt_profile",
6 target_dir: "llvm_clang_rt_profile",
7 patch_dir: "patches/llvm_clang_rt_profile",
8
9 upstream: {
10 url: "https://github.com/llvm/llvm-project.git",
11 rev: "master",
12 },
13
14 exclude_from_upstream: [
15 // Exclude everything except "compiler-rt"
16 "clang",
17 "clang-tools-extra",
18 "debuginfo-tests",
19 "flang",
20 "libc",
21 "libclc",
22 "libcxx",
23 "libcxxabi",
24 "libunwind",
25 "lld",
26 "lldb",
27 "llvm",
28 "mlir",
29 "openmp",
30 "parallel-libs",
31 "polly",
32 "pstl",
33 "utils",
34 ".arcconfig",
35 ".arclint",
36 ".clang-format",
37 ".clang-tidy",
38 "CONTRIBUTING.md",
39 "README.md",
40 // Exclude everything under "compiler-rt" except "lib" and "include"
41 "compiler-rt/cmake",
42 "compiler-rt/docs",
43 "compiler-rt/test",
44 "compiler-rt/tools",
45 "compiler-rt/unittests",
46 "compiler-rt/utils",
47 "compiler-rt/www",
48 "compiler-rt/CMakeLists.txt",
49 "compiler-rt/CODE_OWNERS.TXT",
50 "compiler-rt/README.txt",
51 // Exclude everything under "compiler-rt/lib" except "profile"
52 "compiler-rt/lib/asan",
53 "compiler-rt/lib/BlocksRuntime",
54 "compiler-rt/lib/builtins",
55 "compiler-rt/lib/cfi",
56 "compiler-rt/lib/crt",
57 "compiler-rt/lib/dfsan",
58 "compiler-rt/lib/fuzzer",
59 "compiler-rt/lib/gwp_asan",
60 "compiler-rt/lib/hwasan",
61 "compiler-rt/lib/interception",
62 "compiler-rt/lib/lsan",
63 "compiler-rt/lib/msan",
64 "compiler-rt/lib/safestack",
65 "compiler-rt/lib/sanitizer_common",
66 "compiler-rt/lib/scudo",
67 "compiler-rt/lib/stats",
68 "compiler-rt/lib/tsan",
69 "compiler-rt/lib/ubsan",
70 "compiler-rt/lib/ubsan_minimal",
71 "compiler-rt/lib/xray",
72 "compiler-rt/lib/CMakeLists.txt",
73 // Exclude the following under "compiler-rt/lib/profile"
74 "compiler-rt/lib/profile/CMakeLists.txt",
75 "compiler-rt/lib/profile/GCDAProfiling.c",
76 "compiler-rt/lib/profile/InstrProfilingFile.c",
77 "compiler-rt/lib/profile/InstrProfilingMergeFile.c",
78 "compiler-rt/lib/profile/InstrProfilingNameVar.c",
79 "compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c",
80 "compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c",
81 "compiler-rt/lib/profile/InstrProfilingPlatformLinux.c",
82 "compiler-rt/lib/profile/InstrProfilingPlatformWindows.c",
83 "compiler-rt/lib/profile/InstrProfilingRuntime.cpp",
84 "compiler-rt/lib/profile/InstrProfilingUtil.c",
85 "compiler-rt/lib/profile/InstrProfilingUtil.h",
86 "compiler-rt/lib/profile/InstrProfilingValue.c",
87 "compiler-rt/lib/profile/WindowsMMap.c",
88 "compiler-rt/lib/profile/WindowsMMap.h",
89 // Exclude everything under "compiler-rt/include" except "profile"
90 "compiler-rt/include/CMakeLists.txt",
91 "compiler-rt/include/fuzzer",
92 "compiler-rt/include/sanitizer",
93 "compiler-rt/include/xray",
94 ]
95}