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