|  | // Copyright lowRISC contributors. | 
|  | // Licensed under the Apache License, Version 2.0, see LICENSE for details. | 
|  | // SPDX-License-Identifier: Apache-2.0 | 
|  | { | 
|  | name: "llvm_clang_rt_profile", | 
|  | target_dir: "llvm_clang_rt_profile", | 
|  | patch_dir: "patches/llvm_clang_rt_profile", | 
|  |  | 
|  | upstream: { | 
|  | url: "https://github.com/llvm/llvm-project.git", | 
|  | rev: "master", | 
|  | }, | 
|  |  | 
|  | exclude_from_upstream: [ | 
|  | // Exclude everything except "compiler-rt" | 
|  | "clang", | 
|  | "clang-tools-extra", | 
|  | "debuginfo-tests", | 
|  | "flang", | 
|  | "libc", | 
|  | "libclc", | 
|  | "libcxx", | 
|  | "libcxxabi", | 
|  | "libunwind", | 
|  | "lld", | 
|  | "lldb", | 
|  | "llvm", | 
|  | "mlir", | 
|  | "openmp", | 
|  | "parallel-libs", | 
|  | "polly", | 
|  | "pstl", | 
|  | "utils", | 
|  | ".arcconfig", | 
|  | ".arclint", | 
|  | ".clang-format", | 
|  | ".clang-tidy", | 
|  | "CONTRIBUTING.md", | 
|  | "README.md", | 
|  | // Exclude everything under "compiler-rt" except "lib" and "include" | 
|  | "compiler-rt/cmake", | 
|  | "compiler-rt/docs", | 
|  | "compiler-rt/test", | 
|  | "compiler-rt/tools", | 
|  | "compiler-rt/unittests", | 
|  | "compiler-rt/utils", | 
|  | "compiler-rt/www", | 
|  | "compiler-rt/CMakeLists.txt", | 
|  | "compiler-rt/CODE_OWNERS.TXT", | 
|  | "compiler-rt/README.txt", | 
|  | // Exclude everything under "compiler-rt/lib" except "profile" | 
|  | "compiler-rt/lib/asan", | 
|  | "compiler-rt/lib/BlocksRuntime", | 
|  | "compiler-rt/lib/builtins", | 
|  | "compiler-rt/lib/cfi", | 
|  | "compiler-rt/lib/crt", | 
|  | "compiler-rt/lib/dfsan", | 
|  | "compiler-rt/lib/fuzzer", | 
|  | "compiler-rt/lib/gwp_asan", | 
|  | "compiler-rt/lib/hwasan", | 
|  | "compiler-rt/lib/interception", | 
|  | "compiler-rt/lib/lsan", | 
|  | "compiler-rt/lib/msan", | 
|  | "compiler-rt/lib/safestack", | 
|  | "compiler-rt/lib/sanitizer_common", | 
|  | "compiler-rt/lib/scudo", | 
|  | "compiler-rt/lib/stats", | 
|  | "compiler-rt/lib/tsan", | 
|  | "compiler-rt/lib/ubsan", | 
|  | "compiler-rt/lib/ubsan_minimal", | 
|  | "compiler-rt/lib/xray", | 
|  | "compiler-rt/lib/CMakeLists.txt", | 
|  | // Exclude the following under "compiler-rt/lib/profile" | 
|  | "compiler-rt/lib/profile/CMakeLists.txt", | 
|  | "compiler-rt/lib/profile/GCDAProfiling.c", | 
|  | "compiler-rt/lib/profile/InstrProfilingFile.c", | 
|  | "compiler-rt/lib/profile/InstrProfilingMergeFile.c", | 
|  | "compiler-rt/lib/profile/InstrProfilingNameVar.c", | 
|  | "compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c", | 
|  | "compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c", | 
|  | "compiler-rt/lib/profile/InstrProfilingPlatformLinux.c", | 
|  | "compiler-rt/lib/profile/InstrProfilingPlatformWindows.c", | 
|  | "compiler-rt/lib/profile/InstrProfilingRuntime.cpp", | 
|  | "compiler-rt/lib/profile/InstrProfilingUtil.c", | 
|  | "compiler-rt/lib/profile/InstrProfilingUtil.h", | 
|  | "compiler-rt/lib/profile/InstrProfilingValue.c", | 
|  | "compiler-rt/lib/profile/WindowsMMap.c", | 
|  | "compiler-rt/lib/profile/WindowsMMap.h", | 
|  | // Exclude everything under "compiler-rt/include" except "profile" | 
|  | "compiler-rt/include/CMakeLists.txt", | 
|  | "compiler-rt/include/fuzzer", | 
|  | "compiler-rt/include/sanitizer", | 
|  | "compiler-rt/include/xray", | 
|  | ] | 
|  | } |