1d89ec533Spatrick /*===- InstrProfilingVersionVar.c - profile version variable setup -------===*\ 2d89ec533Spatrick |* 3d89ec533Spatrick |* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4d89ec533Spatrick |* See https://llvm.org/LICENSE.txt for license information. 5d89ec533Spatrick |* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6d89ec533Spatrick |* 7d89ec533Spatrick \*===----------------------------------------------------------------------===*/ 8d89ec533Spatrick 9d89ec533Spatrick #include "InstrProfiling.h" 10d89ec533Spatrick 11d89ec533Spatrick /* uint64 __llvm_profile_raw_version 12d89ec533Spatrick * 13d89ec533Spatrick * The runtime should only provide its own definition of this symbol when the 14d89ec533Spatrick * user has not specified one. Set this up by moving the runtime's copy of this 15d89ec533Spatrick * symbol to an object file within the archive. 16d89ec533Spatrick */ 17*810390e3Srobert COMPILER_RT_VISIBILITY COMPILER_RT_WEAK uint64_t INSTR_PROF_RAW_VERSION_VAR = 18*810390e3Srobert INSTR_PROF_RAW_VERSION; 19